Closed Bug 453824 Opened 16 years ago Closed 16 years ago

Unifinder should allow multisort (second sort criteria is the one from the previous sort)

Categories

(Calendar :: Calendar Frontend, enhancement)

Mozilla 1.8 Branch
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: aryx, Unassigned)

Details

Unifinder should allow multisort (second sort criteria is the one from the previous sort), i.e.

1. Sort by start date.
2. Sort by calendar.

Expected result:
Events are sorted by calendar name and the ones from the same calendar by start date.
This is a regression from 0.3 (and 0.6a1, which are both on 1.9) because Array.sort in 1.8 uses an unstable sort algorithm (QuickSort) and in 1.9 uses a stable sort algorithm (MergeSort, bug 224128).  It should be fixed automatically by the upgrade back to the 1.9 platform.
Works for me using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081020 Calendar/1.0pre (BuildID: 20081020094120)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.