I wanted to retrieve a record from Map based on Key and sort with a date. I wanted to fetch one row for each key, which has a lesser effective date.
I am using a hash