Sort the order of one array bases on the order of the other - java

Jackmals

New Member
I have 2 arrays, one with place names and one with the distance from you. I want to sort the distances and then the places with the same order.
 
Back
Top