Is it possible to sort an array of struct (I mean a C-style array, not a std::array), using std::sort or should I use qsort?
P.S. I know, I should use std::vector or std::array instead of using new and delete or to create array with type name [size]
, but I would like to know anyway.