Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ansel array sort

--/
inplace sort :isort()
returned sort :sort()

an implementation of std::sort
/--

manifest 'array'

imt arr = ['s', 'r', 'j', 'a', 'n', 'p', 'z', 'd']

log arr.sort()
-- ['a', 'd',  'j', 'n', 'p', 'r', 's', 'z']
 
PREVIOUS NEXT
Tagged: #ansel #array #sort
ADD COMMENT
Topic
Name
7+2 =