Catalog
Full catalog
Resources
Blog
University
Guide
Bootcamps
Provided by
JetBrains Academy
Creators of the most popular IDEs:
IntelliJ IDEA, PyCharm
& others
Authors of
Kotlin
,
Google's preferred language
for Android
More than
11.4 million developers and 300,000 companies worldwide
use JetBrains IDEs to create their products
Pricing
For Business
Sign in
Start for free
Computer science
Programming languages
Kotlin
Types and data structures
Operations with collections
Custom sort order for collection
Suggested problems
Match functions and results
The right result of ordering is
Which operations return a custom ordered list?
Which definition is correct?
Comprehension
Order your scores
List of students
The secret is inside the spell?
Hacking the Matrix
Harry and the Spell Power
Application
Skip topic
Theory
Which operations return a custom ordered list?
Report a typo
Which operations return a list with a custom sort?
Select one or more options from the list
Get unstuck
Comments
Get help from the community
Code snippets
See topic-related syntax examples
sortedWith()
sorted()
sortedBy()
compare()
reversed()
21
learners liked this problem.
0
didn't like it.
What about you?
___
Create a free account to access the full topic
Sign up with Google
Sign up with GitHub
Sign up with JetBrains Account
Sign up with email
By continuing, you agree to the
JetBrains Academy Terms of Service
as well as
Hyperskill Terms of Service and Privacy Policy
.
Comments (3)
Hints (2)
Useful links (0)
Show discussion
Open chat with AI Assistant