MONDRIAN-1397 - testPCCacheKeyBug was passing only when profiling was enabled.  The order function was not working correctly in that case.  This fixes the order function and corrects the expected results.