Workshop.codes
Create

Array Sorted Ascending Last updated April 02, 2024

Description

Returns a copy of a specified array with all numeric elements sorted from smallest to largest. Non-numeric elements are appended to the end of the result in their original order. The original array is not modified. Useful for leaderboard ordering, priority queues, or rank assignment systems.

Snippet

Array Sorted Ascending(Global.ScoreArray);

Properties

Returns: Array
Parameters: Array

Array
Type: Array, Default: Empty Array
The array to sort in ascending order.

Workshop.codes