all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* sorting a list
@ 2008-04-17  6:18 Seweryn Kokot
  2008-04-17  6:34 ` David Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: Seweryn Kokot @ 2008-04-17  6:18 UTC (permalink / raw)
  To: help-gnu-emacs

Assume I have a list

'(("abc" "xxsx") 
  ("zdfa" "xxsx") 
  ("dddbc" "xxsx") 
  ("cabc" "xxsx"))

How to sort the list according to the first element in the lists so to
get

'(("abc" "xxsx")
  ("cabc" "xxsx")
  ("dddbc" "xxsx")
  ("zdfa" "xxsx"))

Thanks in advance.






^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <mailman.10469.1208413210.18990.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2008-04-17 18:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-17  6:18 sorting a list Seweryn Kokot
2008-04-17  6:34 ` David Hansen
     [not found] <mailman.10469.1208413210.18990.help-gnu-emacs@gnu.org>
2008-04-17 18:09 ` Pascal Bourguignon

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.