sortedArrayUsingDescriptors method

NSArray sortedArrayUsingDescriptors(
  1. NSArray sortDescriptors
)

sortedArrayUsingDescriptors:

Implementation

objc.NSArray sortedArrayUsingDescriptors(objc.NSArray sortDescriptors) {
  objc.checkOsVersionInternal(
    'NSOrderedSet.sortedArrayUsingDescriptors:',
    iOS: (false, (5, 0, 0)),
    macOS: (false, (10, 7, 0)),
  );
  final _ret = _objc_msgSend_1sotr3r(
    this.ref.pointer,
    _sel_sortedArrayUsingDescriptors_,
    sortDescriptors.ref.pointer,
  );
  return objc.NSArray.castFromPointer(_ret, retain: true, release: true);
}