J Berends <[EMAIL PROTECTED]> writes:
> Suppose I have a list of dictionaries and each dict has a common
> keyname with a (sortable) value in it.
> 
> How can I shuffle their position in the list in such way that they
> become sorted.

Do I understand the question right?  Can't you just say

  thelist.sort(lambda x,y: cmp(x['keyname'], y['keyname']))

or something like that?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to