Filesize sort is based on character representation, not actual size

/Filesize sort is based on character representation, not actual size

Filesize sort is based on character representation, not actual size

When the user sorts by size, the sorting is not accurate due to the way numbers are sorted as text by the display grid. e.g.

205 bytes is listed before 2055 bytes, and then 304 bytes would follow 2055 bytes, despite being much smaller in size (304 bytes, being much smaller than 2055 bytes, but being listed after it).

Need to prepend with a given number of zeroes or work out another way.

By | 2017-05-12T16:17:38+00:00 May 12th, 2017|0 Comments

About the Author:

Leave a Reply