pub fn earliest_max_timestamp_index(timestamps: &[i64]) -> Option<usize>
Select the earliest occurrence of the maximum timestamp.