Changed sort.cpp