I try to sort one vector using another one values, this is the code:
template void ordered_by_old_indices(std::vector co