Fixed main handler to return restrooms in ascending order of distance