HillListContentSortingConfiguration

public enum HillListContentSortingConfiguration: Int

An enumeration of ways in which the user can choose to sort the hills within the lists being tracked.

Note

The raw values of this enumeration are the identifiers assigned by the app and are therefore an implementation detail.
  • The user has chosen to sort by hill section, in ascending order by number.

    Declaration

    Swift

    case section = 0
  • The user has chosen to sort by hill name, in ascending alphabetical order.

    Declaration

    Swift

    case name = 1
  • The user has chosen to sort by hill height, in descending order.

    Declaration

    Swift

    case height = 2
  • The user has chosen to sort by distance from the latest recorded location, in increasing order.

    Declaration

    Swift

    case distance = 3
  • The user has chosen to sort by date of ascent, in decreasing chronological order by oldest ascent, with ascents on unknown dates sorting last.

    Declaration

    Swift

    case dateClimbed = 4
  • The user has chosen to sort by number of ascents, in increasing order.

    Declaration

    Swift

    case ascents = 5