[portland] Sorting A List of Tuples
dylanr at dylanreinhardt.com
Thu Nov 8 18:40:54 CET 2007
On 11/8/07, Rich Shepard <rshepard at appl-ecosys.com> wrote:
> All the information I find on sorting lists assumes the list has only a
> single value to be sorted. What to do with multiple values when the sort
> on the second or third item and all must be kept together?
> I have lists of tuples which I'd like to sort on the second item while
> retaining the relationships among the item pairs.
> Could I do
> A pointer to a reference would be fine.
> Richard B. Shepard, Ph.D.
> | Integrity Credibility
> Applied Ecosystem Services, Inc. | Innovation
> <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax:
> Portland mailing list
> Portland at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Portland