sort type by date for datatables title attribute