Spec / solution for sorted linked list