Sort points by distance
Side panels overflow