Sorting
(sort '(1 3 5 7 2 4 6) '<) --> (1 2 3 4 5 6 7)
(sort '(1 3 5 7 2 4 6) '>) --> (7 6 5 4 3 2 1)
sort is a destructive operation
You want to capture the result
i.e., (setq a (sort a '<))
Previous slide
Next slide
Back to first slide
View graphic version