Console
hyTags
Home
Home
Getting Started
Getting Started
Documentation
Documentation
array-sort
Creates a new array with elements sorted in ascending order.
Parameter
Type
Description
self
[T]
Array to sort
asc
bool
Whether to sort in ascending order (defaults to true)
return
[T]
New array with elements sorted