kytschBASIC

Put down that phone!
Please view me on real computer.

SORT
ARRAY

Sort an array.

Example

DIM test$=("card5","card9","card3","card6","card1","card4","card7","card8","card2","card10")

SORT(test$)

FOR val$ IN test$

	PRINT val$

	PRINT " "

NEXT

Output

card1 card10 card2 card3 card4 card5 card6 card7 card8 card9 

See also

DEF  | DIM  | DUMP  | ERASE  | LET  | MERGE  | NATSORT  | NSORT  | POP  | SHIFT  | SHUFFLE  | SSORT