ECI Telecom interview question

Implement a linked list and a method to sort the list.