Added ability to sort by date on returned listings