This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.peters
Recipients lucassdssampaio, mark.dickinson, tim.peters
Date 2018-07-01.21:05:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1530479109.2.0.56676864532.issue34016@psf.upfronthosting.co.za>
In-reply-to
Content
Lucas, as Mark said you're sorting _strings_ here, not sorting integers.  Please study his reply.  As strings, "10" is less than "9", because "1" is less than "9".

>>> "10" < "9"
True
>>> 10 < 9
False
History
Date User Action Args
2018-07-01 21:05:09tim.peterssetrecipients: + tim.peters, mark.dickinson, lucassdssampaio
2018-07-01 21:05:09tim.peterssetmessageid: <1530479109.2.0.56676864532.issue34016@psf.upfronthosting.co.za>
2018-07-01 21:05:09tim.peterslinkissue34016 messages
2018-07-01 21:05:09tim.peterscreate