pub fn is_date_index_sorted(v: &[DateIndex]) -> bool