added sort filters for search results, calculations for converting dates, functional