Nasdaq Interview Question

Sort a hash map in ascending order