Homepage sort by distance or rating and alter distance