E.g. currently searching nearest village/town like this:
SAOKNEARESTVIL = {
_nearestCity = nearestLocation [_this, "NameCity"];
_nearestCity2 = nearestLocation [_this, "NameVillage"];
_nearestCity3 = nearestLocation [_this, "NameCityCapital"];
_nearestCity4 = nearestLocation [_this, "NameLocal"];
_copy = [[_nearestCity,_nearestCity2,_nearestCity3,_nearestCity4],[_this],{_input0 distance locationposition _x},"ASCEND"] call BIS_fnc_sortBy;
(_copy select 0)
};