[Github-comments] [geany/geany] Document names not alphabetized properly in left panel (Issue #2967)

elextr notifications at xxxxx
Thu Oct 28 04:29:41 UTC 2021


As I said, the sort for the document list is not by character, it is by collation rules, the filebrowser uses case insensitive character order.

I created those 4 names in /tmp and they sort the same way in the system file manager, so its not unreasonable to expect the Geany document list to be the same since users are used to seeing files in that order.  The filebrowser plugin sorts in a different order and by that measure could be seen as wrong.

I havn't studied the Unicode collating algorithm, but I would suspect that underscores may be ignored giving the order `c cc ccrs crs` as seen in documents and system filemanager.

As I explained, the two orderings are appropriate for different use-cases.  If somebody wanted to provide a PR adding an option for changing the ordering for documents and filebrowser in their right click menus (similar to the sort options in the symbols tab) then both use-cases could be supported by both.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2967#issuecomment-953493093
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211027/79260ce1/attachment.htm>


More information about the Github-comments mailing list