https://bugzilla.wikimedia.org/show_bug.cgi?id=35526

--- Comment #2 from Richard Guk <[email protected]> 2012-04-13 14:50:42 UTC 
---
Not only should the re-sorting be reversible; there should be consistent
tie-breaking on each click.

A stable and intuitive tie-breaker (fallback secondary sort key) would be any
one of:
* the original row order
* the current row order
* the sort order of content in other columns.

Clicking to reverse a column's sort order could either maintain the tie-breaker
or reverse it. But whichever approach is chosen, there should be an implicit
tie-breaker (or, equivalently, a stable sort algorithm) so that rows do not
move to counterintuitive or inconsistent positions.

Example moved to
http://en.wikipedia.org/wiki/User:Richardguk/Unstable_tablesorter_algorithm

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to