insert sorted list