I have an array full of objects... With in each object there contains an in representing a certain property.
Before I add a new object I wish to place it in the appropriate area within the array..
valuse of each object in the array = [9,8,7,3,2,1]
I wish to add a new object to the array for example 6
I want it as follows [9,8,7,6,3,2,1]
And so on
A bubble sort algorithm maybe ?? Any one got any ideas?