Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone02.am1.xlned.com!bcyclone02.am1.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:same': 0.07; 'cc:addr:python-list': 0.10; 'algorithm.': 0.16; 'sorting': 0.16; 'wrote:': 0.16; 'skip': 0.18; 'stefan': 0.18; 'subject:not': 0.18; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'am,': 0.23; '2015': 0.23; "python's": 0.23; 'header:In-Reply-To:1': 0.24; 'sort': 0.25; 'message-id:@mail.gmail.com': 0.28; 'fri,': 0.31; 'received:google.com': 0.34; 'subject:: ': 0.37; 'subject:the': 0.40; 'valuable': 0.61; 'times': 0.61 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=DX4dnAxqdYAcWTCikxP04iDHNZKA7lg/U0PRblJ+3fY=; b=XudWHI0lbG2bNPGxvakI0UbwCVZwtKpGFjvQyyX4Xhc8AB0h6U02IyTbHJYjSzkhpT vCqh+2HSch0RYmLn+Bv7fwPD7X+QZvw/pqgHA981V5TR8W8GxsWjmNWYC62gJdzaya3X KQJUK0qxkMbzHWP9mYm5R/bBF90UG8c1bc+qwZaSrkTl0tRFLVj3/kHDZipngDcKCTTl GkUoaVmh4clfgNxB6niCfnOblXIee2lHkrZ9d6HtAgMFLBUT1pmJo6Bip/rO5Oy0sFTu oo4wFxuRqF+7bu5+zjnCNoVTzuzJY9GoL+WNI/uM+187ooUc7B/vU/26wCuLda8ayaJU Qyrw== MIME-Version: 1.0 X-Received: by 10.182.24.40 with SMTP id r8mr3458412obf.15.1433518126313; Fri, 05 Jun 2015 08:28:46 -0700 (PDT) In-Reply-To: References: <5571ad0c$0$13005$c3e8da3$5496439d@news.astraweb.com> Date: Fri, 5 Jun 2015 10:28:46 -0500 Subject: Re: Sorting in reverse is not the same as sorting then reversing From: Skip Montanaro To: Stefan Behnel Cc: Python Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 6 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1433518134 news.xs4all.nl 2959 [2001:888:2000:d::a6]:59154 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3059 X-Received-Body-CRC: 2760005279 Xref: csiph.com comp.lang.python:92157 On Fri, Jun 5, 2015 at 9:50 AM, Stefan Behnel wrote: > [Stable sorting is] a general property of Python's sort algorithm. And at times an extremely valuable property. Skip