Bug 441271

Summary: [Feature Request] Support sorting files by Chinese numbers
Product: [Applications] dolphin Reporter: bgt <2793603265>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: isma.af, kfm-devel
Priority: NOR    
Version: 21.08.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Chinese number sorting

Description bgt 2021-08-21 01:39:02 UTC
SUMMARY
Hope Dolphin could support sorting files by Chinese numbers order when sorting by filename:一(one),二(two),三(three),...
Comment 1 Ismael Asensio 2021-08-21 13:29:34 UTC
Created attachment 140913 [details]
Chinese number sorting

That's an interesting request. Thanks!

Sorting of chinese numbers fails, first on a string level, because their unicode representations are not sorted as the numbers they represent. Instead they get sorted as 1 7 3 2 5 9 8 6 10 4 (https://shkspr.mobi/blog/2016/11/how-do-you-sort-chinese-numbers/).

For what I've checked up, for advanced sorting, dolphin relies on the Qt sorting mechanism through the class QCollator, which supports internationalization.

I think this might be an issue which is worth to fix upstream.
Comment 2 bgt 2021-08-22 06:58:22 UTC
(In reply to Ismael Asensio from comment #1)
> Created attachment 140913 [details]
> Chinese number sorting
> 
> That's an interesting request. Thanks!
> 
> Sorting of chinese numbers fails, first on a string level, because their
> unicode representations are not sorted as the numbers they represent.
> Instead they get sorted as 1 7 3 2 5 9 8 6 10 4
> (https://shkspr.mobi/blog/2016/11/how-do-you-sort-chinese-numbers/).
> 
> For what I've checked up, for advanced sorting, dolphin relies on the Qt
> sorting mechanism through the class QCollator, which supports
> internationalization.
> 
> I think this might be an issue which is worth to fix upstream.

So, will this feature be considered?
And is It feasible to convert Chinese numbers into Arabic numbers before sorting?But...there're also problems.For example Chinese numbers don't always represent Arabic numbers in meaning...