The list of patron's lists comes from VirtualShelves.pm's GetShelves, which includes this in the SQL: ORDER BY virtualshelves.category DESC I think it makes more sense to order by virtualshelves.shelfname.
Created attachment 2891 [details] [review] Proposed fix
Pushed, please test
Created attachment 2915 [details] opac pull down this fix did not take into account the list of lists pull down in the opac
Created attachment 2916 [details] staff pull down this fix did not take into account the list of lists pull down in the staff client
> this fix did not take into account the list of lists pull down in the opac > this fix did not take into account the list of lists pull down in the staff > client No, and it did not attempt to. The lists in the screenshots you attached are generated by a function that pulls the 10 most recent lists ordered by `lastmodified`, and the changes I made in this patch were made specifically to this page: /cgi-bin/koha/opac-shelves.pl?display=privateshelves The GetRecentShelves subroutine could easily be made to order by list name, but I think it's contrary to the original intention of those displays.
Okey Dokey, then this works as expected :)