MathWorks Interview Question

Sort a HashMap by values(Values were of type String)