MRAB wrote:

You'd have to post an example of that, but you could try deleting some
of the entries before sorting so see whether you can still reproduce the
problem with a smaller list.

John Posner wrote:
Please cut-and-paste the exact error message (or other evidence of "failure") into a message.

Thank you both. It appears that the problem was in the way the data were being read in from a file, than in the sorting itself. Once I fixed that, the results are as expected.

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

Reply via email to