Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > alpha_sort_list

API Function: alpha_sort_list

Summary:
sort a list of string alphabetically

Defined In LPC Object:
/usr/common/sys/stringd.c

Prototype:
string *alpha_sort_list(string *list)

Can Be Called By:
Anybody

Description:

Returns a copy of the list of strings. The copy is sorted in ASCII order, as strcmp() would order them. This sort isn't guaranteed fast, but it *is* already written.

Nil strings may be discarded during the sort, and in general their sorting behavior is undefined.

Return Value:

A list of strings.

Errors:
Normally none.

See Also: