I need help with something..
I have an array list containing floating point numbers:
[.43423, .2132, .3242, .....]
I want to create a new array that will sort that list and produce something like
[1, 3, 2, ....]
.43423 becomes 1 because it is the biggest
.3242 becomes 2 because it is the next biggest
etc..
If the decimal points are the same, then they become the same integer value.
How can I go about doing this? Thanks for the help