Changed sort links to form buttons