Show order by column in results table

Hello,

When a query implements an ORDER BY clause on an output field, this sorting is not reflected visually in the output table in the same way as if you click on the column heading in order to sort.

For example:

SELECT id, updated_at FROM updates ORDER BY updated_at DESC

The output table shows no arrow decorator next to the column.

If I click on the header to sort the results table, the arrow appears. But it should appear pointing downwards because the query already sorted the output results.

This would only work where ORDER BY applies to a single column, but I still think this would be a nice addition.

1 Like