remove and remove_by_key needs to be added to Sorted.
remove and remove_by_key needs to be added to Sorted.