SyntaxFix
Write A Post
Hire A Developer
Questions
Use Collections class API to sort.
Collections.sort(list);