Add sort-order preference

Allow sorting in the main activity by creation/modification-time or
title.
Merge pull request #1 from vonloxley/sort_preference

Add sort-order preference