PxSort
Defined in include/foundation/PxSort.h
-
template<class T, class Predicate, class PxAllocator>
void PxSort(T *elements, uint32_t count, const Predicate &compare, const PxAllocator &inAllocator, const uint32_t initialStackSize = 32) Sorts an array of objects in ascending order, assuming that the predicate implements the < operator: