Bug 69387 - sort by album should prefer track number over artist
Summary: sort by album should prefer track number over artist
Status: ASSIGNED
Alias: None
Product: juk
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Mandrake RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Scott Wheeler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-30 19:53 UTC by Braden MacDonald
Modified: 2019-02-17 11:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot of mis-sort (53.28 KB, image/png)
2003-11-30 19:54 UTC, Braden MacDonald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Braden MacDonald 2003-11-30 19:53:08 UTC
Version:           1.1 (using KDE KDE 3.1.4)
Installed from:    Mandrake RPMs
OS:          Linux

In Juk 1.1, when I sort a playlist by album, within each album the tracks are sorted by artist name before track number. 

To me this seems backwards. For instance I have a Christmas CD by many different artists, and each .ogg is tagged with the artist's name for that song. When I click to sort by album, the secondary sort is by artist instead of track number. Thus the songs are out of their track order. There is no way for me to get these songs back into their original order automatically.
Comment 1 Braden MacDonald 2003-11-30 19:54:37 UTC
Created attachment 3479 [details]
Screenshot of mis-sort

You can see in this screenshot that the tracks on the album are not sorted by
track number, but rather by the artist's name.
Comment 2 Scott Wheeler 2004-01-23 04:03:34 UTC
Ok, this will take a little more logic because album names are not always unique.  Think of i.e. "Greatest Hits" which would potentially match a number of "real" albums.

But what I can probably do is to change it to where things are sorted by track number in the case that the album name is unique.
Comment 3 Martijn Pieters 2004-07-02 22:15:51 UTC
How likely is the corner case of multiple albums with the same name going to occur? In such cases the artist will differ

To me, solving bug #79509 would solve this bug as well; if I can influence the implicit sort order, I'd be more than happy. Right now it is the implicit sort order that is biting me: it sorts on Artist before Track. If either the default implicit sort order is changed, or the sort order is configurable, I'd be very happy.
Comment 4 Darren Yeats 2007-07-22 00:05:10 UTC
On the point of a configurable sort order...

I agree this solves this problem and other problems too probably.

I would like an easy to way to control the secondary sort order. For example, if I click on the tracknumber column followed by the the album column then 1st order sort order is by album, and within that tracknumber. If I click any other two columns in sequence I can create a new 2nd and 1st level sort order. So the second last column selected is the secondary sort order. You could extend this logic to 3 levels if you wanted. To me this is intuitive and makes this bug go away.