News for hackers. Stuff that matters.
Re:37signals doesn’t like you sorting stuff. Are you just re... by ByteMuse on Tuesday December 20, 2011 @11:39PM (#3376380)
sortable tables in HTML are nearly impossible to implement.

This is definitely a solvable (and solved) problem.

and where do you sort? front end or back end? how much data are processing?

If you have all the data loaded clientside, sort it there. Otherwise, just make a call to the server to query for data compliant with the new sort order. Both methods are fairly low cost.

Re:37signals doesn’t like you sorting stuff. Are you just re... by speleding on Wednesday December 21, 2011 @03:38PM (#3379035)
Sorting on the back end is generally not cheap unless your dataset is very small (or unless it's indexed, but with arbitrary sorting it wouldn't be).