sortBy
R2026bClass: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
(To be removed) Sort an RDD by a given function
matlab.compiler.mlspark.RDD.sortBy will be removed in a future
release. There is no replacement functionality. For more information, see Version History.
Syntax
result =
sortBy(obj,func,numPartitions)
Description
sorts result =
sortBy(obj,func,numPartitions)obj using
a given func. numPartitions specifies
the number of partitions to create in the resulting RDD.