So I have an array.. lets say its called.. points[] and it has ALOT of values. ex:
points[1]=3
points[2]=3
points[3]=6
points[4]=-9999
What i want is to make another array (order[]) that actualy sorts thouse values in following way:
points[3] has the highest value so order [3]=1...
points[1], points[2], have second highest so order[1]=2 and oreder[2]=3
(in this case when both values are the same, random one is first)
Additionaly I want all points[] that have a value of -9999 automaticaly have corresponded order[] to automaticaly have value 100000.
Enybody knows how to make this?
SpiderKing
Member Since 02 Dec 2005Offline Last Active Nov 01 2009 09:55 AM



Find content
Not Telling
