public static Map queryHT(String query, Map substitutions){
public static SortedMap queryHT(String query, Map substitutions){
    public static Map queryHT(String query, Map substitutions){	String dbQuery = getQuery(query, substitutions);	Map ht = new TreeMap();	try {	    Connection conn = getConnection();	    try {		Statement stmt = conn.createStatement();			ResultSet rs = stmt.executeQuery(dbQuery);		while (rs.next()) {		    ht.put(rs.getString(1),rs.getString(2));		}		rs.close();		stmt.close();	    } finally {		conn.close();	    }	} catch (Exception e) {	    System.out.println("queryHT: "+dbQuery);	    e.printStackTrace();	    throw new RuntimeException("Error" + e);	}	return ht;    }