datatable-friendly sorting