If you plan on doing a HUGE number, don't. Unless you have a supercomputer then don't try. You CAN use turbo warp, but it will take a VERY long time.
This is a simple sorting algorithm (don't know the name) that I've been wanting to do for some time, but I have been too lazy to do it. I figured it out all on my own, so if you have any faster and more efficient options, do inform me!