Tables in the class-detail are now sortable when the column headers are clicked
Switch to using merge sort

it's a stable sort, so the rows won't get into wierd ordering if you sort
the columns over and over