I have a homework assignment where I'm supposed to use the STL sort algorithm, but I'm not allowed to use any STL containers. I can easily make my own container, but I'm not sure what sort of functionality is required to be able to use sort on it. Can anyone help me with this?