Do not use sort property directly

Because it's supposed to be going away.  Most of these are unittests, and should be testing the functions, not the compiler's rewrite.