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