Algorithm to find a possible ordering of the functions. The worst case run time of this algorithm is pretty bad, and can it probably done more efficiently

RelevantVariable.find_ordering(relevantVariables, verbose = FALSE)

Arguments

relevantVariables

the relevant variables to sort

verbose

(default false) whether or not to be verbose when sorting