sort by distance implemented, second UI revamp