|
|
|
|
|
by _ZeD_
4564 days ago
|
|
witch is a little different thing. python can sort according to a function (using the "key" parameter) or using a custom comparator function (using the
"cmp" parameter) as a side note, Python offers also a sorted[0] function, applyable to any sequence [0] http://docs.python.org/2/library/functions.html#sorted |
|