I assume you tried to do something similar to
MyStruct ms[] = {{10}, {50}, {30}, {20}};
std::sort(std::begin(ms), std::end(ms), std::greater<MyStruct>{});
, operator> . , std::greater ADL, , ADL . std::rel_ops MyStruct. , , MyStruct, operator>.
using std::rel_ops::operator>;
, , std::rel_ops Boost.Operators .