Sort distances from largest to smallest.