Sort order not quite what you'd expect

Sort order not quite what you'd expect

avatar

Personally, I'd expect the order to be shire, shire scp, shire2 & shire2 scp. By coincidence, I came across a similar issue in sorting in Access DB VBA a few days ago. Was to do the way the two strings are compared: text and binary. If you sort those four entries in Notepad++ you get the order above.

All Comments (3)

avatar

Hello,

I've opened a ticket so we can address this. As it's been the behavior for a long time we might add an option to change the behavior just in case.

Regards,

Hubert Mireault

avatar

Thanks for that. It's a minor thing but always meant to mention it.

avatar

We've made the change and it will be available starting with 2027.1 coming at the end of the year. There's going to be an option in File>Settings to disable the behavior called "Sort numbers before spaces".

Once this is available, let us know if there's any further issue with the sorting.

Regards,

Hubert Mireault