Added API declarations for hm_for_each_v2 which can handle multiple ways
of traversing the hash map and hm_linked_list_sort