MDSortCriteria

public enum MDSortCriteria : String, Codable

Criteria to use when sorting objects

Note

Not all sort criterias may be available for all kinds of objects
  • Sort depending on creation date

    Declaration

    Swift

    case creationDate = "createdAt"
  • Sort depending on the date of the last released update

    Declaration

    Swift

    case lastUpdate = "updatedAt"
  • Sort depending on the date of publication

    Declaration

    Swift

    case publicationDate = "publishAt"
  • Sort depending on the volume number

    Declaration

    Swift

    case volume = "volume"
  • Sort depending on the chapter number

    Declaration

    Swift

    case chapter = "chapter"
  • Sort depending on the name

    Declaration

    Swift

    case name = "name"
  • Sort depending on the username

    Declaration

    Swift

    case username = "username"