added 'remove' and 'removeByKey' methods and associated tests for SortedList