Fixed list ordering when sorting by date #509