Android Question Sorting of distances in map values

Pedro Caldeira

Active Member
Licensed User
Longtime User
Hello there,
I have a map that holds in its keys a Maintenace task reference, and the value is a distance in meters to the location of that task.
how can I sort the data from far to close and vice versa.
Any ideas ?

thanks
 
Top