Hi, well this wasn't written in dark basic or darkGDK, but i thought this header file i made might be useful for certain things any of you might want to do.
This is basically a header file that contains an insertion sort algorithm which will sort any amount of numbers you want from smallest to greatest. All you have to do is include the header file at the top of you file, along with the C iostream file, and just call the function. There's a simple how to file and example file in the download.
Here's an example of how it'll work: