SyntaxFix
Write A Post
Hire A Developer
Questions
It's very easy for Kotlin!
listToBeSorted.sortBy { it.distance }