A Solidity library for managing lists in a CRUD situation, ListUtils.sol implements two ways to manage deletions from a solidity array: swap & delete, and delete & shift. Use with care, both are expensive on gas, especially the delete and shift methods.
The item is swapped with the lst item and deleted.
The item is deleted and subsequent items are shifted to the left.
Based on solutions offered on StackOveflow.