I have a UITableViewController containing some very basic data. Assume each row just contains a random integer. I'd like to sort these rows (either ascending or descending is fine). I have a "Sort" button and a "sortItems" delegate that's called when the Sort button is tapped. How do I sort the contents of the UITableViewController and update the display? I also store the data displayed in the UITableViewController in an array if that helps.
Cheers!