mozilla/butter — pull request #743 by secretrobotron (2012-08-08 19:19:41+00:00)
Title: [t1944] Track ordering rewrite

1. Rearranged track ordering code
2. Only Tracks/Media store ordered tracks
3. Forced update with media.sortTracks()
4. Helper functions: media.getNextTrack(track), media.getLastTrack(track)