[EMAIL PROTECTED] wrote:
def funcSort(myList):
  result = myList[:]
  result.sort()
  return result

In Python 2.4, funcSort is called sorted:

py> sorted([1.2,1.23,4.5,2])
[1.2, 1.23, 2, 4.5]
py> sorted(["a","c","b","A","C","B"])
['A', 'B', 'C', 'a', 'b', 'c']

STeVe
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to