User:Typetive/Template:Check sort C++ code