Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-05
06:42 • Ticket [218521ffff] Man pages should state if lsort is a stable sort status ... artifact: 7909f57009 user: dgp
2000-10-26
08:23 • Closed ticket [218521ffff]. artifact: 1d7c97193d user: welch
01:01 • New ticket [218521ffff]. artifact: ba2a30e51f user: nobody

Man pages should state if lsort is a stable sort

Closed / Fixed218521ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:01:38
OriginalBugID: 873 RFE
Version: 8.0p2
SubmitDate: '1998-11-25'
LastModified: '1999-01-04'
Severity: LOW
Status: Released
Submitter: pat
ChangedBy: rjohnson
OS: All
OSVersion: NA
Machine: NA
FixedDate: '1999-01-04'
FixedInVersion: 8.0.5
ClosedDate: '2000-10-25'


Date: Thu, 15 Oct 1998 04:04:20 -0700 (PDT)
To: [email protected]
Subject: Man pages should state if lsort is a stable sort
From: [email protected]

TclTk Bug Report Form filled out by:  [email protected]

Name:  Tim Wilson
BugOrRFE:  RFE
Product:  Tcl
Version:  8.0p2
OperatingSystem:  Win95
Synopsis:  Man pages should state if lsort is a stable sort

DesiredBehavior:
An important property of sorting algorithms is whether or not they are "stable", ie whether they retain the original order of elements that compare equal.

The documentation for lsort should state if it is a stable sorting algorithm.  

By experiment, lsort appears to be stable, which is the more useful behaviour -- but maybe I've just been lucky!
welch Closed ticket [218521ffff]. [History diff]2000-10-26 08:23:19
dgp Ticket [218521ffff]: 3 changes [History diff]2001-04-05 06:42:50
Log in (anonymous is fine) to add a comment.