I spent some time reading on SOF and am having issues solving this problem. I cannot seem to find how to get the following data structure sorted by the sub-value:
data = {}
data[1] = {name: "Bob", ...}
data[2] = {name: "Carl", ...}
data[3] = {nane: "Alice", ...}
I need to get this data into some form of a list/tuple/order dict structure which is alphabetized so that the final result is something like this:
finalData = [{name: "Alice", ...}, {name: "Bob", ...}, {name: "Carl", ...}]
Thanks.