Ugly fix for sorting DataTables