Specifically I want to sort a list of lists, based on data within the lists.
the result of this should be sorted alphabetically
Code: Select all
(block (name unid known sov)
(setq name (objGetName station 1))
(setq unid (staGetType station))
(setq known (if (objIsKnown station) "known" "unknown"))
(setq sov (objGetSovereign station))
(lnkAppend list (list name unid known sov (objGetID station)));
)