fix some inconsistencies in `sorted` from 2.4 implementation:  * ''always'' return a list, not the `reversed` generator returned when    reverse-sorting without a key function  * sorting should be stable w.r.t. the `key` function.  When keys were equal    it was falling back to sorting on the original value
fix some inconsistencies in `sorted` from 2.4 implementation:
 * ''always'' return a list, not the `reversed` generator returned when
   reverse-sorting without a key function
 * sorting should be stable w.r.t. the `key` function.  When keys were equal
   it was falling back to sorting on the original value


git-svn-id: 0d96b0c1a6983ccc08b3732614f4d6bfcf9cbb42@3281 af82e41b-90c4-0310-8c96-b1721e28e2e2

rbaumg/trac,rbaumg/trac,rbaumg/trac,rbaumg/trac