If the keys and values are, for example:
array[1] = 87 array[2] = 34 array[3] = 78 array[4] = 12
What I want to do is shuffle the values so they are ascending, to end up with:
array[1] = 12 array[2] = 34 array[3] = 78 array[4] = 87
Does that make sense?