I have an array which contains dictionaries in it; so how can I sort the array according to dictionary key values?
why don't you use a sorted dictionary where the property of sorted elements comes already with the data structure?
Please do check it out here
Hope this helps.