Sort habstars filtered by distance, by distance ascending