Match the ordering functions with their descriptions:
Ordering elements in collection
Match functions and results
Report a typo
Match the items from left and right columns
asReversed()
sortedDescending()
reversed()
shuffled()
sorted()
Will arrange the elements of a collection in reverse natural order
Will return a copy of the original collection in reverse order
Will return a reference to the original collection in reverse order
Will return the items in random order
Will arrange the elements of a collection in natural order
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.