Hi,

Having a list of objet with a parent_id attribute pointing to a parent, I
want to order this list like this :

[Parent #1, Child #1.1, Child#1.1.1, Child#1.1.2, Child#1.2, Parent #2,
Child #2.1, ...]

Any clue on how to do this ?

Thanks,
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to