order_by

method of dascore.io.index.catalog.PatchCatalog source

order_by(
    self ,
    attribute: str ,
    ascending: bool = True,
)-> ‘PatchCatalog’

Return a view presenting rows ordered by an attribute or coord.

A lazy presentation spec (D2): realization adds ORDER BY with the ordinal contract as the deterministic tiebreak; no rows are copied and no relation is realized here.