Resulting subcodes are now printing in ascending order of codes.