Forum archive 2000-2006

Michael Gage - lex_sort

Michael Gage - lex_sort

by Arnold Pizer -
Number of replies: 0
inactiveTopiclex_sort topic started 11/16/2002; 7:29:28 AM
last post 11/16/2002; 7:29:28 AM
userMichael Gage - lex_sort  blueArrow
11/16/2002; 7:29:28 AM (reads: 1685, responses: 0)

Description

Returns a list sorted in lexigraphic (alphabetical) order.

Syntax

lex_sort(@list)

Params

@list is the list to be sorted.

Returns

Returns list sorted alphabetically (lexigraphically).

Examples

join(" ", lex_sort('a','b',2,5,10) ); returns "10 2 5 a b"

See Also

num_sort
uniq
PGsort

Macro Definition File

PGbasicmacros.pl

 

<| Post or View Comments |>