Option to sort files by date added or name

Defaults to sorting by name.

Currently the code for sorting by "last seen" is implemented but commented out because it queries "last seen by all users" rather than "last seen by me."