When you give a dictionary the keys are unordered and to be canonical, the keys are sorted.
What sort of expression are you wanting to do what type of substitution on? Maybe replace, xreplace or Transform are better matches for what you want to do. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
