jacquesh / foo_openlyrics

An open-source lyric display panel for foobar2000
MIT License
403 stars 24 forks source link

Remember the selected sort column in the manual search window #225

Open jacquesh opened 1 year ago

jacquesh commented 1 year ago

Spawned from #220, we already let you sort by individual columns, but we don't remember that order (partially by design so that the results don't jump around in the list as new results are added).

If we added a column for "result index" (or something...the number showing the order in which the result was added) then we could trivially let you sort on that as well as any other column, and then we could remember the sort order and if you cared about the consistency you could just leave it sorted by result index. On the other hand if you wanted it sorted by source (or whatever), then you could do that once and it'd remember.

While we're at it, it'd be nice if we could have the column titles visibly update to show the sort order. Not sure why they don't.