Template:cpp/algorithm/ranges/dsc prev permutation