Sort the documents oldest to newest when queried