sort grid rows using entire header. refs #160