Sort by timestamp.