Hi all, I would like to know is there any difference between the following two lines of code: 1. mylist.sort() 2. mylist.sort(lambda a, b: cmp(os.path.normcase(a), os.path.normcase(b)) where mylist = os.listdir('.') Thanks in advance. Regards, Geiger