Using STL sort with a custom container

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?
http://cplusplus.com/reference/algorithm/sort/

Looking at there, you need operator < (or a comp that you are going to pass), and some random-access iterators.
Topic archived. No new replies allowed.