Sort Algorithms, C++ Builder, C++