I learned how to use the comparable but I\'m having difficulty with the Comparator. I am having a error in my code:
Exception in thread \"main\" java.lang.C
Do not waste time implementing Sorting Algorithm by your own. Instead; use
Collections.sort() to sort data.