Skip to content

Sort List by Distance

Variables ยป Sort List by Distance

Description

Sorts the List Variable elements based on their distance to a given position

Parameters

Name Description
List Variable Local List or Global List which elements are sorted
Position The reference position that is used to measure the sorting distance
Order From Closest to Farthest puts the closest elements to the Position first

Keywords

Order Organize Array List Variables