OrderBy
OrderBy
OrderBy sets the sort direction of an asset list. Pass a value as the order argument of the sortWithKey:orderBy: method of AssetLibrary.
AssetLibrary.h declares the enum as NS_ENUM(NSUInteger, OrderBy). Swift imports it as OrderBy with the cases .ascending and .descending.