--- FM2SQL/Attic/DBBean.java 2004/07/27 10:41:36 1.29 +++ FM2SQL/Attic/DBBean.java 2004/08/04 11:53:08 1.30 @@ -1528,7 +1528,7 @@ public class DBBean ResultSet result = this.result; String subQuery = query.substring(query.lastIndexOf(table) + table.length() + 1); System.out.println("subQuery " + subQuery); - makeQuery("select " + id + " from " + getQC() + table + getQC() + subQuery, numHits); + makeQuery("select " + id + " from " + getQC() + table + getQC() + subQuery+"order by "+id, numHits); while (true) { Vector vec = getNextRow();