E
Edward
Guest
The function geGetSelSet() seems to build a list in the same order
that the objects were selected. Normally, I like this. But I want
to make a copy of this list of db-objects in alphabetical order with
respect to ~>objType .
Here is my code:
(sort
(geGetSelSet)
(lambda (x y)
(alphaNumCmp
(dbGetq x "objType")
(dbGetq y "objType"))))
Running this code seems to have no effect whatsoever. Whatever item I
selected first is still always the first item in the list, as if I
never ran the list through a sort at all. What am I missing? Thanks
in advance.
Edward
that the objects were selected. Normally, I like this. But I want
to make a copy of this list of db-objects in alphabetical order with
respect to ~>objType .
Here is my code:
(sort
(geGetSelSet)
(lambda (x y)
(alphaNumCmp
(dbGetq x "objType")
(dbGetq y "objType"))))
Running this code seems to have no effect whatsoever. Whatever item I
selected first is still always the first item in the list, as if I
never ran the list through a sort at all. What am I missing? Thanks
in advance.
Edward