sort()
← Back to Module sorting
Sort an array. Array elements will be arranged from lowest to highest
sort(data)
data
boolean
true
import sorting data = [23, 9, 10, 2, 5] sort(data)
Documentation version: 1.1.03. Updated on: 11 February 2026.Dinfio is designed and written by Muhammad Faruq Nuruddinsyah. Copyright © 2014-2026. All rights reserved.