Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sort array

let sortArray =  array.sorted(by: { $0.name.lowercased() < $1.name.lowercased() })
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sort #array
ADD COMMENT
Topic
Name
6+3 =