Reorder output to preserve use of simple deep-equality comparison.