Making the marker table sortable