5 sorting algorithms in C++