Added sorting by date