So, as Martin said, any variable ordering is correct, but of course, their choice will influence the final result and also the work that is to be done. Which one is best, it very hard to compute and to foresee, it is the variable ordering problem of BDDs, which is NP-complete. A good guess is however, the number of occurrences, and in particular, real occurrences, meaning those that remain after first simplifications.