Re: Sorting a multidimensiona l array by multiple keys
Steven Bethard:
I always use key now, but maybe cmp uses less memory. There can be few
situations where cmp is better still.
Bye,
bearophile
Steven Bethard:
there's almost never a reason to use the cmp= argument to
sort() anymore. It's almost always better to use the key= argument.
sort() anymore. It's almost always better to use the key= argument.
situations where cmp is better still.
Bye,
bearophile
Comment