When I ask for the first track of a playlist, I get the last.

When I run the script

tell application "iTunes"
	set x to name of first track of playlist "Recently Played"
end tell

I get the last track of the playlist. However, Recently Played is the only playlist that does this. All the others work fine. Any ideas?

Hi code_monkey,

You probably have the sort order reversed in the iTunes browser. That’s that triangle.