Why is that? There are cases where c++ is faster than C, a typical example is qsort vs std::sort.
https://stackoverflow.com/questions/18002087/qsort-vs-stdsor...
Or the CTL is a header only STL for C, which inlines the sort function and the comparator. And because of the C++ bloat and indirect calls the C version is faster.
Inlining with macros == constexpr with templates.
You can decide which syntax you prefer.