BZ-1006079: sorting OTCs prior to serialization