so I have an ArrayList that takes a Hashmap as an input . i want to perform mergeSort but I don\'t know how to implement it. i created two helper methods but I don\'t know w