Why is the Join CD Tracks menu item dimmed in the Advanced menu?
There are two reasons why this command might be dimmed. The first is that you’ve got something besides CD tracks selected, i.e., even one track which is already in your library. For whatever reason, iTunes can only join tracks before they are imported from a CD, so anything besides what’s on the CD will cause the menu command to be dimmed. The second reason why this menu item might be dimmed is much more subtle. The track list of the CD must be sorted by the track number column (which isn’t labeled). If it’s sorted by any other column, the menu command will be dimmed. The track number column is the left-most column of the songs list, as displayed here: The Apple knowledgebase article iTunes: Join CD Tracks Command Is Dimmed has additional details on this behavior.