21 Jan
2004
21 Jan
'04
5:04 a.m.
Hi all, I have 2 sqlmethods foo and bar then i have a python script ----------------------- x=int(myx) mylist=[] for result in context.foo: mylist.append(result) if x == 2: for result in context.bar: mylist.append(result) return mylist ----------------------- what i want to do is sort this list by a field eg. mylist.sort('fieldname') but obviously the sort function dose not work like that -- -tim zegir