1. A system comprising: a plurality of containers of different types, each container type corresponding to a category of medical waste; wherein each container comprises a machine-readable key configured to indicate the container's type to a sorting machine, wherein each container comprises an automatically-operable gate configured to selectively occlude and reveal an opening of the container, and wherein said gate is configured to automatically lock.