Add sorting by date option