Reorder snippets in lists using `updated_at` column
Snippets lists currently list snippets in created_at DESC
order rather than by the updated_at
column. It would be better for them to be ordered by updated_at
, especially with the last updated text being displayed on the right of each snippet.
We should update the SnippetFinders
to accept a sort param. Then, in the controllers, we should pass the updated_at
param as the default sort criteria if none other has been selected (I'm not sure whether we should make it the default in the finders though).