TMergeSort::Sort

Sort the array.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Templates/Sorting.h

Include

#include "Templates/Sorting.h"

Syntax

template<class T, class PREDICATE_CLASS>
static void Sort
(
    T * First,
    const int32 Num,
    const PREDICATE_CLASS & Predicate
)

Remarks

Sort the array.

Parameters

Parameter

Description

First

Pointer to the array.

Num

Number of elements in the array.

Predicate

Predicate for comparison.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss