1 2 3 4 5
Private["_object"]; _object = _this select 0; ([_object,towns] Call SortByDistance) select 0;