View Single Post
  #2  
Old 03-26-2008, 03:06 AM
dan12345 dan12345 is offline
Member
 
Join Date: Jan 2008
Posts: 58
got it

found the solution...

list.sort(lambda x, y: cmp(x.getPosition()[1], y.getPosition()[1])

does the job!

thankz anyway
Reply With Quote