insert sort linked list initial implementation