Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Algo/Sort.h |
Include |
#include "Algo/Sort.h" |
namespace Algo
{
template<typename RangeType, typename ProjectionType>
void Algo::SortBy
(
RangeType & Range,
ProjectionType Proj
)
}
Sort a range of elements by a projection using the projection's operator<. The sort is unstable.
Parameter |
Description |
---|---|
Range |
The range to sort. |
Proj |
The projection to sort by when applied to the element. |