What is the primary function of the 'Collections.sort()' method?
To arrange elements in ascending order
To remove duplicate elements from a collection
Overlook minor misbehaviors
Impose harsh punishments for any infraction

Software Engineering Exercises are loading ...