👉 In mathematics, an ordering is a relation between two elements in a set (a collection of objects) that assigns a non-negative integer to each pair of distinct elements. The integers 0 and 1 are considered as positive or negative infinity, respectively. The elements within the set can be compared by their positions in a sequence called an order, which is usually ordered from smallest to largest. For example, if we have a set S = {a, b, c}, then the ordering of its