ios sort array with dictionaries
I have an NSMutablearray, populated by dictionaries [from a JSON request] i need to organize the array depending to a key in the dictionaries the dictionary IdReward = 198; Name = "Online R d"; RewardImageUrl = "/FileStorimage=1206"; WinRewardPoints = 250; so the array is composed by different dictionaries with the above form, and I need to organize by maximum to minimum WinRewardPoints I have seen this answer in SO, but dont understand yet how to adopt it for my case, thanks a lot! Sirji IdReward = 198; Name = "Online R d"; RewardImageUrl = "/FileStorimage=1206"; WinRewardPoints = 250;