Can anyone provide assistance?
Data = [{"name":A,"val":20}, {"name":B,"val":7}, {"name":C,"val":20}, {"name":D,"val":8}, {"name":E,"val":5}]
SortedValues = [20, 20, 7, 8, 5]
I would like the output to be like this -->
Sorted_names = [A,C,D,B,E] or Sorted_names = [C,A,D,B,E]