sb.append(" order by ");
sb.append("\norder by ");
  protected ResultSet grabTestResults(Logger l, Statement s, int run, int test) {    String sql = null;    StringBuffer sb = new StringBuffer();    ResultSet rs = null;    try {      sql="select * from "+getTest(test).getTableName(run);      rs=s.executeQuery(sql);      int columns = rs.getMetaData().getColumnCount();      sb.append(sql);      sb.append(" order by ");      for (int i=1; i<=columns;i++) {	sb.append(i+",");      }      sb.deleteCharAt(sb.length()-1);      //System.out.println("Check: "+sb.toString());      rs=s.executeQuery(sb.toString());    } catch (SQLException sqle) {      l.logMessage(Logger.ERROR,Logger.DB_WRITE,		   "Contrastor.grabTestResults - Problem executing query : " + sql,		   sqle);    }     return rs;  }