Wire up the list view sort functionality
- Add function for handling the sort links, sorting, and rerendering