The sorting was alphabetically such that 2.xxx was between
19.xxx and 20.xxx which is incorrect.
The function assumed that there is always some remaining rows to
cutoff at the end. If that was not the case then the epoch in the last
row is deleted.
raised SWEEP_EPOCH_VERSION
since a2172f0 (Added generations of epoch information wave, 2019-05-22)
since 4ed816a (EP_SortEpochs: Teach it to remove epochs marked for removal, 2021-09-09)
The epoch sorting had two issues:
The sorting was alphabetically such that 2.xxx was between 19.xxx and 20.xxx which is incorrect.
The function assumed that there is always some remaining rows to cutoff at the end. If that was not the case then the epoch in the last row is deleted.