Tabs order

In tabs mode (and when the query is empty) order tabs by recency, so the previous tab is just one `Enter` away.

Fixes #1146 (well, indirectly).
This line is inconsistent with the rest of the function; it should either use brackets for function application, or not and only for grouping.