Closed Bug 285469 Opened 20 years ago Closed 20 years ago

Download manager incorrectly sorts transferred files by size

Categories

(SeaMonkey :: Download & File Handling, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 188010

People

(Reporter: Jim_Ronback, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041217
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041217

When you click on the transferred button to sort files by size, you get a very
odd sort. The file sizes are sorted by ONLY the first leftmost digit (regardless
of how many digits there are)in increasing vaules of only the first digit. Then
within that group with the same leftmost digit, they are sorted in decreasing
values based on the second leftmost digit (regardless of how many digits there
are)!! 

Reproducible: Always

Steps to Reproduce:
1.Assume you have several files downloaded with different sizes over a range of
several magnitudes eg., 1k, 21k, 333k, 344k, 1000k.
2.Click on the Transferred button to sort them by size.
3. You will get the following order. 1k, 1000k, 21k, 344k, 333k

Actual Results:  
The files are incorrectly sorted. You will get the following order. 1k, 1000k,
21k, 344k, 333k.

Expected Results:  
You should have the following order for the files:
1k, 21k, 333k, 344k, 1000k

*** This bug has been marked as a duplicate of 188010 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
v=aha
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.