Adding ordering to ._code keys for printing