The following structs are available globally.
SortDescriptorstores a property name and a sort order for use with
sorted(sortDescriptors:). It is similar to
NSSortDescriptor, but supports only the subset of functionality which can be efficiently run by Realm’s query engine.
public struct SortDescriptor