Bug 444344

Summary: Dolphin does not sort files with variable length numbers in their names correctly
Product: [Applications] dolphin Reporter: Eduardo Sánchez Muñoz <eduardosanchezmunoz>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 21.08.2   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eduardo Sánchez Muñoz 2021-10-24 19:52:42 UTC
SUMMARY

Dolphin does not sort files with variable length numbers in their names correctly

STEPS TO REPRODUCE
1. Enable natural sorting in settings
2. Create an empty directory
3. Create three files named 1, 2 and 10
4. Choose sort by name in that directory

OBSERVED RESULT

Files are sorted as 1, 10, 2

EXPECTED RESULT

They should be sorted as 1, 2, 10

SOFTWARE/OS VERSIONS

Linux: 5.14.10
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION