Sorting ArrayList based on number of duplicates? : <p>working here to sort an ArrayList in order with the highest number of duplicates at index 0. Can anyone help me out with what kind of loop to use or a method?</p>
