Bug 4378 - "natural" Subject sorting
Summary: "natural" Subject sorting
Status: NEW
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: UI/Message List (show other bugs)
Version: other
Hardware: PC Linux
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2020-08-31 06:55 UTC by kent\n
Modified: 2020-09-25 08:40 UTC (History)
0 users

See Also:


Attachments

Description kent\n 2020-08-31 06:55:27 UTC
I've recently observed a strange thing in how "Subject" sort ordering works that is sometimes undesirable.

Specifically, when given a non AZaz character, it seems to ignore it instead of ordering it logically.

For instance, this list is *currently* sorted as per whatever rules govern subject sorting:

- FileHandle-Unget
- File-MimeInfo
- File-Slurp
- Filesys-Notify-Simple
- File-Temp

It seems to me that the "rule" here *ignores* the hyphen, instead of ordering it like it would under *any* LC_COLLATE setting, which ranks hyphens as coming before Alphanumeric letters, eg: LC_ALL=C gives:

- File-MimeInfo
- File-Slurp
- File-Temp
- FileHandle-Unget
- Filesys-Notify-Simple

This becomes really annoying to deal with if you're trying to sort a list of emails which have subjects that map to "filesystem existent identifiers", because the work required to present the filesystem list in the same order as the email list is something that's hard to do.

And given how there's a wide variety of things out there that sort in this order, and have defined knobs for tweaking this order, but only in ways that don't align with Claws's sort order, it seems more logical that Claws have a mechanism to change its sort order more in line with what everything else does. ( As in, Claws is very much the 'odd one out' with this sort order logic )

But obviously not everyone desires the same sort order, having some kind of knob makes sense here.

Just if there is such a knob, I can't find it anywhere.

Note You need to log in before you can comment on or make changes to this bug.