Oracle Interview Question

Sort a hashmap in java