List doesn't have its own sorting method, you'll need to call
Collections.sort()
as the method on the list. If this returns a ClassCastError, that means the list has non-sortable items. I think this should fix it, but without full code, it's hard to check.