 Some computer languages provide built-in or library support for merging sorted collections.The C++'s Standard Template Library has the function , which merges two sorted ranges of iterators, and , which merges two consecutive sorted ranges "in-place".In addition, the (linked list) class has its own method which merges another list into itself.