public static Vector3[] SortPositionsByDistance(Transform[] input, Vector3 reference)
        {
            var positions = StaticHelpers.GetPositions(input, false);

            return(positions.OrderBy(x => Vector3.Distance(x, reference)).ToArray());
        }