Command cmd = new Command("open", -1, new OpenCommandArgument2
(OpenMode.ALL, 10000, null, new Property[] {prop},
new NumberedSortingInfo[0])) ;
dynResSet = (XDynamicResultSet) AnyConverter.toObject(
new Type(XDynamicResultSet.class),cmdProc.execute(cmd, 0, null));
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace(log);
}
XDynamicResultSet sortedSet = oObj.createSortedDynamicResultSet