Actually sort the properties by distance