corrected critical issue with sort tests, clang-format