Adds test to prove sorted order is correct for timestamps