if you have a map or list with a bunch of doubles between -1 and 1 you can order them from -1 to 1. how ever it is perfect e.g ( 0.4 is after 0.3 but before 0.5 )
is it possible to simulate putting the numbers generally in the correct place but not perfect? its hard to explain what I mean but I have drawn a diagram to help.
The x's are points on the number line
I don't want it to be perfectly sorted, neither randomly sorted but in-between; roughly sorted. is this possible if so how?