title: How to make ranking system in java
body: <p>I have custom object for example person. Every person have a rank, social number and points. Whats the most efficient way to order the persons by points and rank them. What I should use - Comparator, Map or override the add method of some list ? How it can be made in most efficient way?</p>