Again, if you're just looking for a quick fix rather than some enlightenment regarding sorting algorithms, use Horstl's suggestion.