Deloitte interview question

WAP to sort a Hash Map based on values (not keys)