Hello again :-) I am really trying new stuff here so bear with me please .. when you have a dtml-in tag you can set sort=attribute But how do you do that in a python script? You can't do: for item in folder.objectValues('lala') sort='something': So how do you do it then ? TIA, Gitte Wange