title: boost::ptr_vector sort function
body: <p>i have a boost::ptr_vector that i want to keep maintained in sorted order.</p>
  
  <p>i am creating a bunch of Customer objects containing several simple strings and values, which are then stored in a boost::ptr_vector, and they need to be ordered by one of the strings.</p>
  
  <p>i have looked around but cant seem to find much information about the boost::ptr_vector member functions though, it appears that there is one called sort() which i think is relevant to what i am trying to do, however there is not much information on usage of this function.</p>
  
  <p>is there an "insert in order" type function available to boost::ptr_vector? or do i need to load everything into the vector and then sort afterwards?</p>
  
  <p>any help would be greatly appreciated
  thanks</p>