Re: [Rhythmbox-devel] sorting on multiple categories



On Wed, 2003-11-26 at 08:08, John Russell wrote:
> Is there a way to sort on more than one column in the main list?
> e.g. Sort first by artist, then for the same artist, sort by album, then
> for each album sort by track number.

I'll second this as a feature request if there's no way to do so
currently (I haven't found a way).

Pretty easy to do in code.  Just keep an array of sort parameters, and
unshift, splice parameters as requested by the user (reversing when
necessary).  Then the user clicks "track", followed by "album" and then
on "artist", which causes the list to sort by artist, then album, then
track (or whatever the user clicks on).  Clicking again on "artist"
would reverse the artist sort.

-Chris




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]