Improve performInsertIntoList and performReorderInList