Adding sortable directive to the main Indexes table. Some refactoring is still required for multiple sortable tables.