fix ordering by oldest first