[Bug] Sorting by size - wrong order
Moderators: Hacker, petermad, Stefan2, white
[Bug] Sorting by size - wrong order
Hello,
My files/folders sizes displayed in "All_Dims" form (unit of measure is not fixed b,kb,Mb,Gb).
The bug is that sorting by size ignores units, and looks only at number of units. E.g. four files with sizes 10b, 3Kb, 5Mb, 7Gb would be sorted like this:
3Kb
5Mb
7Gb
10b.
Is it known bug? I have used search in forum, but didn't find it.
My files/folders sizes displayed in "All_Dims" form (unit of measure is not fixed b,kb,Mb,Gb).
The bug is that sorting by size ignores units, and looks only at number of units. E.g. four files with sizes 10b, 3Kb, 5Mb, 7Gb would be sorted like this:
3Kb
5Mb
7Gb
10b.
Is it known bug? I have used search in forum, but didn't find it.
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
I cannot confirm this, my TC 6.52 sorts correctly:
Code: Select all
.. <DIR> 2005.05.17 11:03 ----
2005.04.16 Dia szülinap 231,5 M 2005.04.17 17:25 ----
2005.04.27 Anyák napja .. 88,3 M 2005.04.27 19:35 ----
2005.04.17 Mamáéknál 60,1 M 2005.04.27 19:31 ----
2005.05.14 Gyerekfesztivál 43,3 M 2005.05.14 13:55 ----
2005.04.29 Anyák napja .. 38,1 M 2005.05.01 22:05 ----
2005.05.16 Bakonykuti 28,1 M 2005.05.16 13:03 ----
2005.05.08 Dédi szülinapja 9,9 M 2005.05.10 17:31 ----
2005.04.23 Dani forog a k.. 8,8 M 2005.04.23 20:16 ----
2005.04.05 Dani szülinap 7,4 M 2005.04.08 23:26 ----
2005.05.15 Gyüliben 4,3 M 2005.05.16 13:02 ----
2005.04.21 Dani, Tekla, Á.. 3,6 M 2005.04.21 21:04 ----
2005.03.29 Esti mese 2,6 M 2005.04.08 23:25 ----
2005.03.22 Tekla és Dani .. 1,5 M 2005.04.08 23:24 ----
2005.04.14 Frank és Ákos 1,3 M 2005.04.14 19:23 ----
2004.07.31 Jim wedding 870,4 k 2005.05.17 11:03 ----
2005.05.12 Ákos alszik 828,8 k 2005.05.14 13:54 ----
2005.04.09 Gyerekfesztiv.. 803,8 k 2005.04.10 23:25 ----
2005.05.10 Dia és Jakab 509,3 k 2005.05.14 13:54 ----
I switched to Linux, bye and thanks for all the fish!
Image: http://gazer.at.tut.by/bug.jpg
No photoshop.
Total version - 6.52. Sizes - [=dirsizecalc.Size (on demand).All_Dims].
Thoughts?
P.S. How could I add images in my posts??
No photoshop.
Total version - 6.52. Sizes - [=dirsizecalc.Size (on demand).All_Dims].
Thoughts?
P.S. How could I add images in my posts??
I don't confirm this too, all files/folders are sorted correctly...
Edited: sorry, I posted it before I read that a new message from Gazer appeared.
In this case such behaviour is possible, because TC don't know that "3k", "7M" and so on are file sizes, and it sorts them as usual strings. I'm not sure at present if this can be easily fixed...
Edited: sorry, I posted it before I read that a new message from Gazer appeared.
In this case such behaviour is possible, because TC don't know that "3k", "7M" and so on are file sizes, and it sorts them as usual strings. I'm not sure at present if this can be easily fixed...
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
2Gazer
To end up the mystery I would like to quote from the DirsizeCalc readme file:
Now Total Commander 6.52 has been released. It brings several new enhancements to the plugin interface including a clean solution for this problem. Please be patient! DirSizeCalc 1.20 will make use of the enhancements in TC 6.52.
To end up the mystery I would like to quote from the DirsizeCalc readme file:
After all it's a known limitation. The reason is indeed that these values are actually strings. When DirSizeCalc 1.13 has been released there has been no other to display user-defined units.readme.txt wrote:WARNING:
--------
The sort order doesn't work regardless of the Total Commander setting SortUpper.
Now Total Commander 6.52 has been released. It brings several new enhancements to the plugin interface including a clean solution for this problem. Please be patient! DirSizeCalc 1.20 will make use of the enhancements in TC 6.52.