sort lists
Hi, I am trying to sort lists but can't find any help to do deeper sort. Example: (setq list '((0) (1) (2) (0 1 5) (0 1 3) (0 1 5) (0 3 0) (0) (1) (2 7 19) (0 0 3 0))) (stable-sort list #'< :key #'car) --> ((0) (0 1 5) (0 1 3) (0 1 5) (0 3 0) (0) (0 0 3 0) (1) (1) (2) (2 7 19)) but I am looking for: --> ((0) (0) (0 0 3 0) (0 1 3) (0 1 5) (0 1 5) (0 3 0) (1) (1) (2) (2 7 19)) any solution or hint. Thanks, -- Janusz Podrazik MRAC Publishing