Added basic sorting of z-schema output by field (CTR-98).