Update ordering2.cpp