merge

Moves sorted elements into a list according to the compare argument.

  void merge(list<T,Allocator>& x);
  template <class Compare> 
  void merge(list<T,Allocator>& x, Compare comp);