I have an array of items and I would like to sort on one of their properties.
I can access the items property using \"item.Fields[\"FieldName\"].Value\" the propert
If you can use orderby it should be easy, try the following. I threw in the int.Parse although depending on how you actually want to sort this might not be required.
var sorted = array.OrderBy(item => int.Parse(item.Fields["FieldName"].Value));