<p></p>
<p>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.</p>
<p>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.</p>
<p>I havn't studied the Unicode collating algorithm, but I would suspect that underscores may be ignored giving the order <code>c cc ccrs crs</code> as seen in documents and system filemanager.</p>
<p>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.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2967#issuecomment-953493093">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYIASPKHQJR7ZO6323UJDGTLANCNFSM5G3XWJJQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ64HCCPRCTGZYXHQPTUJDGTLA5CNFSM5G3XWJJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHDKSMZI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2967#issuecomment-953493093",
"url": "https://github.com/geany/geany/issues/2967#issuecomment-953493093",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>