Reverse epochs for proper comparison

Epochs are ordered with the current epoch first.  The comparison needs
to be done starting from T0.  Thanks Paul.