Adding sortable directive to the main Indexes table.

 Some refactoring is still required for multiple sortable tables. Please update your main github with your most recent version so I can attempt to refactor the sortable directive to support more than one table on a single page.