Implement CSP.__order_domain_values(). Create helper methods, use them elsewhere where they're relevant.