News for hackers. Stuff that matters.
Re:Sort tables fast with Sortable.js by sehrope on Tuesday December 03, 2013 @01:49PM (#6842225)
The "sorting" aspect of it is wrong, 2.44% is greater than 1.03% but shows up last: http://i.imgur.com/0qmIk3s.png

EDIT: I took a look at the source. There's an extra "data-" field to use as the value to sort with which is hard coded to "0" for the 2.44% row. This also answers my question of how it was sorting the textual date fields properly (each has the year in that data- field).

Re:Sort tables fast with Sortable.js by afschwartz on Tuesday December 03, 2013 @01:52PM (#6842251)
This is intentional. Since that is an "Other" category, I elected to force it to the bottom of the sort order by setting `<td data-value="0">` for that column.

See: https://github.com/HubSpot/sortable/blob/e07209b89deac83950c...