I am trying to run a lisp in a lisp .... I wrote it as such: (setq lst2 (sort lst2)) It should run "lst2" thru a little lisp to obtain a new "lst2" value. For some reason it is not working correctly. Is the codeing bad? Example: if lst2 = 1 2 3 4 lst2 goes to the lisp labeled "sort" and should returm 4 3 2 1 here is the sort lisp... ( defun SORT (Lst / NewList temp big TempList y x limit) ( setq x (length Lst) ) ( while ( /= x 1) ( setq pos 0 ) ( setq big (nth pos Lst) ) ( setq i 1 ) ( setq limit (- x 1 ) ) ( repeat limit ( setq temp (nth i Lst) ) ( if (> (atoi (car temp)) (atoi (car big)) ) ( setq big temp pos i ) ) ( setq i (+ i 1) ) ) ( setq NewList ( cons big NewList ) ) ( if ( = pos 0 ) ( setq Lst (cdr Lst) ) ( progn ( setq TempList (list (car Lst)) ) ( setq y (length Lst)) ( setq y (- y 1) i 0 ) ( while (< i y ) ( setq i (+ 1 i) ) ( if ( /= pos i ) ( setq TempList (cons (nth i Lst) TempList)) ) ) ( setq Lst TempList ) ) ) ( setq x (- x 1) ) ) (setq NewList ( cons (car Lst) NewList ) ) (setq Lst NewList ) )