jortSort checks if your inputs are sorted. If they aren't then you can let the user know they are in for a world of trouble.