SortDirection

public enum SortDirection: String

An enum which declares in which direction results should be sorted by.

  • Sort in ascending order.

    Declaration

    Swift

    case ascending = "asc"
  • Sort in descending order.

    Declaration

    Swift

    case descending = "desc"