iPod: Sort Your Albums by Year of Release

daft punk sorted by album title
The iPod’s default behavior is to sort alphabetically.
Here’s Daft Punk’s albums:
Discovery (2001), Homework (1997) and Human After All (2005).

Not that long ago, I was asked by a commenter if I had any suggestions for getting the iPod to sort albums chronologically. By default, the iPod’s behavior is to sort albums alphabetically by title. In iTunes, there’s the option to sort “Album By Year” but the iPod features no such function.

At the time, I didn’t have much of an answer for him other than to put the albums in a playlist and just listen to the songs in chronological order. But in an interesting twist, the pixels in that reply were barely dry before Apple released version 1.3 of the firmware for 5G iPods. After some further discussion, this trick was discovered:

The most noticeable change in firmware 1.3 is the application of iTunes’ “smart sorting” (ignoring “a” “an” and “the”), including recognition of iTunes’ custom “Sort Fields” (Sort Album, Sort Composer), for Album and Composer. The Sort fields allow you to enter any text that you want and iTunes/iPod will use that to order the list of items, while displaying the text from the actual field.

Using the Sort Album field, you can easily put albums in whatever order you like. For example, you could put the Halo number of Nine Inch Nails releases in the Sort Album field to have all items, including singles and remix albums, displayed in the order they were released.

For basic chronological sorting, just put the year in the Sort Album field and voila, the iPod will show the album title, but they will be ordered by the year.

UPDATE: The previous version of this post recommended putting the year of the album in the Sort Album field. This, however, effectively changes the name of the album within iTunes’ logic, making it group all albums of the same year together.

The revised method is to simply prepend the year to the album name in the Sort Album field. This way, each album gets a unique identifier that still sorts by year.

Additional caveat: this tip has the potential (there have been mixed reports) to reorder the listings of the “Album” browser, as the Sort Album field may be applied to it. So if you ever use the iPod’s Album View, keep this in mind. See the discussion in the comments for effects and solutions.

For this demonstration, I’ve selected Daft Punk’s three studio albums:

  • Homework (1997)
  • Discovery (2001)
  • Human After All (2005)

As you can see in the image at top, the default behavior is to display the albums in alphabetical order, with Discovery as the first. How do we fix that?

add a year to Sort Album to sort by release date
click to enlarge

  1. In iTunes, get info on the first song of the album.
  2. Click the Sorting tab.
  3. Enter the year of the album then the album name into Sort Album field
  4. Click OK.
  5. Select all the songs on the album
  6. Right-click/Control-click and select Apply Sort Field > Same Album
  7. Repeat for as many albums as you care to customize

When you next update your iPod, the new data will take effect and the albums will be sorted by release date.

daft punk sorted by year
Daft Punk albums sorted chronologically.

This process works for any 5G iPod that has been updated to firmware version 1.3 (and I assume iPods/iPhones released subsequently) So if you haven’t updated yours, hop to it and then get customizing.

UPDATE 2: As mentioned in the comments, if you have an artist who released two or more albums in the same year, there are two options you can use to sort them appropriately:

  1. If you know the more specific album release date, you can prepend that to the album name.
    Example: If one album was released in March and another in October, use 2008-03 and 2008-10 .
  2. If you don’t know the date, you can order them with a number.
    Ex: 2008-1 , 2008-2 and so on.

iTunes 7.4.2: No Change in Sorting behavior

Part of the iTunes Sorting Debacle Series

  1. iTunes 7.4.2: No Change in Sorting behavior
  2. iTunes 7.3 Sorting Problems: Fallout Central
  3. iTunes’ totally effed up sorting

Apple unleashed iTunes 7.4.2 today, mostly to cripple efforts by the iPhone community to customize their ringtones without having to pay an additional $.99 to do so. On that topic, one could argue that users are well within their Fair Use rights to repurpose (format shift) into a ringtone the music they’ve already paid for. I’m not an iPhone user nor do I intend to be, so it’s purely an academic observation in my case.

My slightly modified Motorola E815 lets me copy mp3s over Bluetooth and use those as ringtones. it’s quite convenient. But I digress.

The important news is that 7.4.2 in no way fixes the asinine sorting problems introduced in version 7.3. iLounge offers up some polite criticism in addition to my own.

Unfortunately, this “numbers-last” sorting order is counter-intuitive to how most other software applications function. Other media players, be they portable devices or computer software applications, have always taken a numbers-first approach, as do standard sorting algorithms in Word Processing and Spreadsheet applications. In short, this new behavior is extremely counter-intuitive to what most experienced users would expect, and as a result is a rather odd change on the part of iTunes.

This is going to be a hot topic around here until the day it gets resolved. If you’re as sick of hearing about it as I am of complaining about it, let’s encourage Apple to mend its ways.

iTunes 7.3 Sorting Problems: Fallout Central

Part of the iTunes Sorting Debacle Series

  1. iTunes 7.4.2: No Change in Sorting behavior
  2. iTunes 7.3 Sorting Problems: Fallout Central
  3. iTunes’ totally effed up sorting

Apple has really screwed up with the new sorting behaviors introduced in iTunes 7.3 and it’s making a lot of people seriously unhappy. And, honestly, I’ve NEVER been mad at Apple for anything in my 25+ years of history with the company (annoyed at times, but never mad), but the more I think about this the more pissed I get. For those just joining the story, Apple released version 7.3 to accompany the launch of the iPhone. Included in that release was a new, completely arbitrary rule set for sorting Artist, Album, Composer, Genre, etc tags.

Quoting myself:

Starting with version 7.3, numbers and other non-alphabetic characters are sorted to the bottom of the list. My default view now shows Aalborg Symphony Orchestra at the top. 2pac now begins after the Zs and iTunes suddenly doesn’t even know how to handle artists whose names begin with punctuation. It starts !!! after songs that don’t have anything entered into their Artist or Album tags!

*snip*

iTunes now ignores the non-alphabetic leading characters and sorts based on the first letter or number it finds in the name. The program now treats fields that are all punctuation as if they are blank, as if they have nothing typed in at all. And guess what else? It passes that behavior to the iPod.

At first, it seemed that the issue was a bug, but as revisions came out, it became clear that this new behavior was intentional. Indeed, an Apple support document created July 11, 2007, explains the new scheme as if everything is hunky-dory. The odd thing about this is that there is no rational explanation for it. Before 7.3, iTunes used case-insensitive ACSII as its basis. It’s a decades old standard that all electronic devices use.

Symbols > Numbers > Letters. That’s the order the entire Western world has been using for all of modern memory. Look on any computer’s desktop and that’s how you’ll see files arranged. Hell, even the 131-years-old Dewey Decimal System sorts numbers before letters. Perhaps more bizarrely though, is that this behavior only appears to affect the first character in the music tags. Playlists and second character sorting (unless the whole field is made of punctuation) still seem to use the ASCII method. Say whaa? If you’re going to screw up a standard, you might as well be consistent with your screwery.

Seriously, this abrupt abandoning of established convention brings Apple closer to Microsoft’s behavior regarding standards. Could you imagine if, on a whim, Apple suddenly changed the way Safari renders web pages to its own specifications, rather than W3C standards, perhaps in order to accommodate the iPhone? That’s how bad this is.

So far, the suggested workaround is to use the Apply Sort Field command to manually restore normal sorting, a process that is cumbersome, tedious, counter-intuitive and shouldn’t even be necessary. In my case, I’d have to apply it to 150-200 albums and gobs of composers and I’m not about to waste my time doing so. Alternately, you can downgrade to iTunes 7.2.

I am not alone in my ire. Others in the passionate-about-iTunes community are equally upset at this development. Here’s some choice reactions from several threads around the net.

Code Monkey at iLounge forums:

It’s not just a “strange” decision, but a downright moronic one. First off, anybody bright enough to use a computer knows that symbols and numbers sort before alphabetical characters. Second off, what was the whole point of introducing the ability to customize sorting in 7.2 if they were just going to turn around and bork it with 7.3?

GadgetGuru72 on the Apple Discussion boards:

Thanks. I am familiar with all the suggested workarounds.

However, I shouldn’t have to use a “workaround” to get a “1” or a “?” to sort before the letter “a” any more than I should have to use a “workaround” to get the letter “a” to sort before the letter “b.”

Amen to that.

Andrew Wiggins in the comments to another iLounge article:

I’m extremely irritated that the numbers vs. letters order has changed. This has messed up with my established order for albums that I was very pleased with.

Comment at engadget: (sic)

WHAT ON EARTH, HOW ANNOYING

they have changed the Digit order, when you sort column be accending, so all those people who had there music sorted by Artist with bands like +44, 65 Days of Static and 30 seconds to Mars ect… will now find that in that mode they are liseted at the bottom after your XY and Z’s (if you have any) Thats just annoying, why the change?

The rampaging horde at Digg:

The sorting in iTunes 7.3 is totaly screwed. Apparently numbers now come after letters.

This was by far the most annoying thing in the update. Brackets and parentheses are ignored in sorting, too!

WTF are they thinking?

well, I did notice that the sorting on the iPod is the same way. Numbers come after letters.

In any case, stupid.

The numbers after letters thing is what really gets me. It’s completely f’ed my entire library.

Comment at Neowin forums:

I really dislike what they did to the artist ordering. That alone makes me want to downgrade

Comment at MacRumors forums:

The 7.3 update is what caused the error in sorting (numbers and symbols after z.) I was hoping the 7.3.1 update would fix it, but it sounds like it doesn’t.

Quote:
Originally Posted by ryry919 View Post
not sure if anyone else has noticed this, but when I opened iTunes back up after the update I noticed that all of my artists that are a # (IE: 311, 3 Doors Down) are all now at the end of the iTunes artist sort rather than being at the top, before the A’s like it used to be.

anyone know of a way to change this back? is there anything like how you can either view you contacts in address book for first, last or last, first? just wondering.

I downgraded my iTunes to 7.2 for the time being.

Someone’s LiveJournal

Dear $deity why? Why would they do that?

Everybody knows its punctuation->[0-9]->[Aa-Zz], anything else is heresy!

And so on. I’ll add more as I run across them.

For now, the only way to get “standards compliant” sorting back is to downgrade to iTunes 7.2. I’ve done this already and until I see a version that restores standard procedure (or at the very least offers the option of using either scheme), I will not be upgrading to any future version of the software. That basically means I’ll never buy an iPhone or any other product that requires a subsequent version of iTunes. I’ll probably save myself some money that way. If you don’t have an iPhone, I suggest that you do the same. Download for Mac. Download for Windows.

In the meantime, though Apple’s traditionally not very responsive to customer feature complaints, it never hurts to try: http://www.apple.com/feedback/itunesapp.html

iTunes’ totally effed up sorting

Part of the iTunes Sorting Debacle Series

  1. iTunes 7.4.2: No Change in Sorting behavior
  2. iTunes 7.3 Sorting Problems: Fallout Central
  3. iTunes’ totally effed up sorting

…and managed to sully my iPod too. And the more I think about it, the more pissed off I get. What Apple has done defies all standard convention, is completely arbitrary and makes ab-so-lute-ly zero sense whatsoever.

Allow me to go on.

I had put off updating my iTunes to 7.3.2 until a couple days ago. With all the time and energy I invest into pruning and perfecting my library (it’s like bonsai really), I usually give the early adopters in the Mac community enough time to warn me of any critical errors or whether the new update is going to irreparably damage or otherwise soil my files. It’s just common sense.

So, having read no reports of exploding iPods or iTunes-induced electrocutions, I figured it was time for the latest and greatest. At the very least, I could get the app to stop bugging me about the update every time I launched it.

The update process went smoothly enough, like a Dove chocolate bar, and I was quickly back to makin’ playlists and retrieving album art. It took me about a day, however, to realize something was… awry.

The default view of the Music tab had changed. As a matter of course, I keep it set to Album by Year, which in effect sorts by artist then sub-sorts the albums by the year they were released. Before the latest update, that meant that the band !!! was listed first, followed by +/- then into the numbers. It was logical: standard convention dictates that that’s the way alphanumerical sorting is done in English.

Far be it for Apple to let any convention go unchallenged…


neatly organized ipod composers
Neatly organized iPod composers.

scrambled ipod composers
A scrambled mess.

Starting with version 7.3, numbers and other non-alphabetic characters are sorted to the bottom of the list. My default view now shows Aalborg Symphony Orchestra at the top. 2pac now begins after the Zs and iTunes suddenly doesn’t even know how to handle artists whose names begin with punctuation. It starts !!! after songs that don’t have anything entered into their Artist or Album tags!

On one hand though, I do have to give iTunes some credit. When sorting numbers, the program is smart enough to know that, numerically, 101 Strings comes after 50 Cent.

I’m not averse to change in general, and though somewhat inconvenient, these new sorting behaviors aren’t a fundamental flaw. I can deal with it. Update 8/28: I take that back. This IS a fundamental flaw and it needs to be fixed. There’s no excusing it. However, the real travesty here is how iTunes now treats the Composer tag. In this case, it looks like Apple specifically set out to destroy my Composer tag scheme, the one where cover songs have the original artist surrounded by [brackets]. The purpose of that is to separate cover tunes from actual composers when browsing Composers on the iPod.

Well, guess what? iTunes now ignores the non-alphabetic leading characters and sorts based on the first letter or number it finds in the name. And guess what else? The program now treats fields that are all punctuation as if they are blank, as if they don’t have any characters at all. It passes that behavior to the iPod. Now when browsing by Composers, the list I’m presented with is a jumbled mess. I’ve got [Fleetwood Mac] sittin’ next to Edvard Greig and [Ted Nugent] holding hands with Tchaikovsky, which is the exact situation I was trying to avoid in the first place!

And that’s not even mentioning my workaround for remix albums, where I list the song’s originator in (parentheses).

So, thanks Apple for fixing something that wasn’t broken.