hi all,

Answer by Alex is ok.
I want add.

> (setq *People
> '((name John phone 123456 age 56)
> (name Fred phone 654321 age 35)
> (name Fred phone 236597 age 38)
> (name Hank phone 078965 age 23)))

i dont like and never wanted store keywords in list.
i store keywords in comment or head.


after removing i can sort by second *and* third element:
(by cdr sort *People)


sort by first and third:
(by
   '((L) (cons (car L) (caddr L)))
   sort
   *People )

(mike)

--
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe

Reply via email to