tried to create SortedInsert with delegate(failed)