Alphabetical sort

BlitzPlus Forums/BlitzPlus Programming/Alphabetical sort

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Blitz does this for you. You can just compare strings as though they were numbers.

Eg :

If "AAA"<"AAB" Then Print "AAA COMES BEFORE AAB ALPHABETICALLY"
If "AAC">"AAB" Then Print "AAC COMES AFTER AAB ALPHABETICALLY"