Implemented Sorting of Archive Entries

- Changed date entry to YYYY-MM-DD for sorting purposes
- Implemented sorting by date, distance and activity type (lots of
duplicate code, could do with refactoring)
- Delete unused regex method
- Added more appropriate variable names and comments