Path is now sortable.
Implemented the linking logic.