fromNumber

Returns the SortDirection from the number that represents the direction.

Parameters

value

Int the number of the direction.