SortingOrder enum

The SortingOrder determines how Scryfall should sort the returned cards.

Inheritance

Constructors

SortingOrder()
const

Values

name → const SortingOrder

Sort cards by name: A → Z.

set → const SortingOrder

Sort cards by their set and collector number: AAA/#1 → ZZZ/#999.

released → const SortingOrder

Sort cards by their release date: Newest → Oldest.

rarity → const SortingOrder

Sort cards by their rarity: Common → Mythic.

color → const SortingOrder

Sort cards by their color and color identity: WUBRG → multicolor → colorless.

usd → const SortingOrder

Sort cards by their lowest known U.S. Dollar price: 0.01 → highest, null last.

tix → const SortingOrder

Sort cards by their lowest known TIX price: 0.01 → highest, null last.

eur → const SortingOrder

Sort cards by their lowest known Euro price: 0.01 → highest, null last.

cmc → const SortingOrder

Sort cards by their converted mana cost: 0 → highest.

power → const SortingOrder

Sort cards by their power: null → highest.

toughness → const SortingOrder

Sort cards by their toughness: null → highest.

edhrec → const SortingOrder

Sort cards by their EDHREC ranking: lowest → highest.

artist → const SortingOrder

Sort cards by their front-side artist name: A → Z.

review → const SortingOrder

Sort cards how podcasts review sets, usually color & CMC, lowest → highest, with Booster Fun cards at the end.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<SortingOrder>
A constant List of the values in this enum, in order of their declaration.