Improved sorting on ticket list page.