#PB_Sort_EmptyLast

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Lebostein
Addict
Addict
Posts: 826
Joined: Fri Jun 11, 2004 7:07 am

#PB_Sort_EmptyLast

Post by Lebostein »

At the moment, empty strings are at the beginning of a sorted list:

Code: Select all

""
""
""
"alpha"
"beta"
"gamma"
"xylophone"
Would be nice to can move the empty strings to the end of the sorted list.

Code: Select all

"alpha"
"beta"
"gamma"
"xylophone"
""
""
""
Thanks!