how to shorting...
Now if sorting is what you mean then the following might help. Tony does have great answers. In AutoCAD 2000: (defun numsort (numlist) (mapcar 'itoa (vl-sort (mapcar 'atoi numlist) '< ) ) ) -- Check out DWGInfoTip at http://www.caddzone.com/dwginfo.htm /*********************************************************/ /* Tony Tanzillo Design Automation Consulting */ /* Programming & Customization for AutoCAD & Compatibles */ /* ----------------------------------------------------- */ /* */ /* http://www.caddzone.com */ /*********************************************************/
like this may be _$ (setq srt (list "A3" "A11" "A5" "A1")) ("A3" "A11" "A5" "A1") _$ (vl-sort srt '<) ("A1" "A11" "A3" "A5") _$