Sorry, let me clarify. I mean every object in the array is a numerical value, is there a way to sort all of the objects in the array by their numerical value?
sorry I was looking around those I just didn't find that I guess but thanks it works great.
One last question though I have dates stored in an array for another view and am trying to sort that by date I have looked over the links that you gave me but I could not see anything for that.
You need to look at whatever class you are using to store your dates and find a compare: or similar selector. If you can't find one you'll have to write one. It's not my job to do your research for you. Using the documentation is a core programming skill: learn it.
If you have an array of dates you can sort them the same way as an array of numbers. NSDate also has a compare: method.
All of the Foundation classes for which it makes sense to compare them or sort them have a compare: method and an array of them can be sorted by built-in methods.