Forum archive 2000-2006

Michael Gage - num_sort

Michael Gage - num_sort

by Arnold Pizer -
Number of replies: 0
inactiveTopicnum_sort topic started 11/16/2002; 7:29:54 AM
last post 11/16/2002; 7:29:54 AM
userMichael Gage - num_sort  blueArrow
11/16/2002; 7:29:54 AM (reads: 1725, responses: 0)

Description

Sorts a list into numerical order

Syntax

num_sort(@list)

Params

@list is the list to be sorted.

Returns

Returns list sorted numerically.

Examples

join(" ",num_sort(23,11,2,5,10)); returns "2 5 10 11 23"

See Also

lex_sort
uniq
PGsort

Macro Definition File

PGbasicmacros.pl

 

<| Post or View Comments |>