make times sortable