utils: fix determinism for parameters generation
Walk parameters in order such that randomized with seed is deterministic and parameters values are always the same given a graph and a seed value.
Use get_ordered_nodes()
instead of get_nodes()
which does not give a deterministic order.