adaptive merge sort std::stable_sort bookflow.ru