I'm been thiking of a method for sorting a list without labels and only numbers, like [{1:2},{3:3},{4:5},{6:10}]
by it's values but I can't come up with a solution. The method should be like this.
Input:[{1:2},{3:3},{4:5},{6:10}]
Output: [{6:10},{4:5},{3:3},{1:2}]
Can someone help?