made cases table sortable