The trim operation requires that data be monotonic in time, because findex is used to locate the indices for the range. This can be done is O(log(N)) time, where N is the size of the dataset. We should support data with unsorted timetags as well. (Often a single timetag is out of order, breaking an Autoplot script which would otherwise work.) For the case where the times are not monotonic, an O(N) subset operation will still work fine.
The trim operation requires that data be monotonic in time, because findex is used to locate the indices for the range. This can be done is O(log(N)) time, where N is the size of the dataset. We should support data with unsorted timetags as well. (Often a single timetag is out of order, breaking an Autoplot script which would otherwise work.) For the case where the times are not monotonic, an O(N) subset operation will still work fine.