implemented sort by date & other selections menu