GE Vernova Interview Question

Implement linked list, reverse it, sort it.