[issue39597] sorting the String

Ronald Oussoren report at bugs.python.org
Mon Feb 10 06:29:02 EST 2020


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

>From the screenshot:

>>> b = ['sss', 'ase', 'klm', 'qwe']
>>> print sorted(b)
['ase', 'klm', 'qwe', 'sss']

This is the correct result, the output list is alphabetically sorted.

----------
nosy: +ronaldoussoren
resolution:  -> not a bug
status: open -> pending

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39597>
_______________________________________


More information about the Python-bugs-list mailing list