Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Column headers on query results should sort the results when clicked

share|improve this question
I like this request, it just requires a little bit of extra coding, also ie can be really slow at sorting so I need to be extra careful – waffles Jun 2 '10 at 2:31

I added support for this for tables with <= 5000 results (as a quick n' dirty way to handle IE's less-than-optimal performance here), pending a pull and redeploy of Data Explorer.

The sorting is very basic and single-column to start with, but if more advanced use cases come up it could be expanded as necessary.

share|improve this answer
This is working well for normal columns, but smart links are sorting randomly. E.g. here clicking on the actual Ids do group the queries or users, but clicking on the smart link columns order "interestingly". – Mark Hurd Jul 3 '14 at 5:33
Yeah, that's already fixed in a to-be-deployed changeset (commit). – Tim Stone Jul 3 '14 at 5:36

I don't think this is necessary since the Data Explorer simply runs SQL queries... You can just add/modify an ORDER BY clause to do this, and that's far more powerful than simple visible column sorting anyway.

share|improve this answer
That means re-submitting the query to the server, which is often less desirable. – Joel Coehoorn Jun 1 '10 at 16:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .