in reply to Re^3: Sorting an array of hashes with an exeption
in thread Sorting an array of hashes with an exception
You're right, It doesn't only sort by RouteDistance. I didn't look long enough at the code, just the result. My bad.
The result when changing ID: 5 with a distance of: 3.1 I get the following result:
ID: 1 Distance: 1.7 RouteDistance: 2.5This is my excpected result but then again, it will not work in all cases :/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Sorting an array of hashes with an exeption
by choroba (Cardinal) on May 09, 2013 at 19:54 UTC |