I have a JSON object collection:
var Gallery = [
{ "Order": 1, "Page": 1, "LargeImage": "large.jpg", "ThumbImage": "thumb.jpg" },
{ "Order": 2, "Page": 1, "LargeImage": "large2.jpg", "ThumbImage": "thumb2.jpg" }];
I want to each over this object but after the collection is sorted on "Order". What is the best way to do this?