[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ask a simple question about Tcl



On Wed, 22 Sep 1999 17:04:47 +0800, Cheng Liang wrote: 
>Hi all,
>     I would like sort an array by descending in Tcl. For example,
>An array like this:
>     a1 1 a2 2 a3 8 a4 4 a5 5
>I want to get it after sorting by values:
>     a3 8 a5 5 a4 4 a2 2 a1 1
>How could I do? Sorry for bothering you , all.
>Wait for quick response, thank you in advance!

To keep the ns-users mailing list pertinent to ns, please post
non-ns-specific questions elsewhere.

You should also be able to find the answer to your question
in one of the many good Tcl books.

   -John Heidemann