Copied to the main cpp file project4b.cpp and deleted all the commented out code. More readable now. Changed the parent process to sort from the previous index to the current index and will sort the entire array when it exits its loop.