private static String quoteString(String input) {
    return "'" + input + "'";
  }
takes raw data and turns it into a string as if from Driver.getResults()
sorts rows in dictionary order
ql/src/test/org/apache/hadoop/hive/ql/TestTxnCommands2.java