Sort a linked list in java

In this tutorial, we have to sort a given linked list according to default alphabetical order or customized sorting order.