implemented sort and filter functionality in results page
implemented sort and filter functionality in results page