I have a column of numbers, that have to be sorted like this:
I have one number in A1, which is the precise value from I start -e.g.
10 and then I have numbers like:
9, 8.1, 11, 6, 10.5
My goal is to sort them from the least different. It means:
10, 10.5, 11, 9, 8.1, 6.
In Java it would be done by compareTo function. Is there something like this is VBA?