Closed Bug 201901 Opened 22 years ago Closed 7 years ago

The result of "Sorted by Title" is wrong

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kazhik, Unassigned)

Details

The result of "Sorted by Title" is wrong. It seems Mozilla compares titles byte by byte, from lower byte to upper byte. The current result of sorting is: ord. string bytes 1 B 42 00 2 BC 42 00 43 00 3 <A> 42 30 // "A" in Japanese 4 C 43 00 5 C<A> 43 00 42 30 6 CD 43 00 44 00 But it should be: ord. string int16s(UCS2s) 1 B 0x0042 2 BC 0x0042 0x0043 3 C 0x0043 4 CD 0x0043 0x0044 5 C<A> 0x0043 0x3042 6 <A> 0x3042
Build: 2003041205-trunk/Linux Original report in Bugzilla-jp: http://bugzilla.mozilla.gr.jp/show_bug.cgi?id=3077
Assignee: bross2 → nobody
QA Contact: chrispetersen → history.global
Component: History: Global → Bookmarks & History
Product: Core → Firefox
I've just tested this on Firefox Nightly 60.0 on Mac, when I sort by name, I get the expected results
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.