Fix timestamp order.