Given this array of tuple
[('h1', 0.522611856461), ('h2', 0.438368797302), ('h3', 0.443703174591)]
Or given this dictionary
{'h2': 0.438368797302, 'h3': 0.443703174591, 'h1': 0.522611856461}
How can I create an array of the 'h' items ['h2', 'h3', 'h1']
which is sorted by the float item?