HyperCard sorts text using the assigned ASCII values for each character.
This means that ascending sorts put text symbols first, followed by
numerals, then alphabetic characters last. A sort command that will work
for you is:
"sort ascending text by expression"
where "expression" is any expression.