Sort
====

.. currentmodule:: lsst.daf.relation

.. autoclass:: Sort
   :show-inheritance:

   .. rubric:: Attributes Summary

   .. autosummary::

      ~Sort.columns_required
      ~Sort.is_count_dependent
      ~Sort.is_count_invariant
      ~Sort.is_empty_invariant
      ~Sort.is_order_dependent
      ~Sort.terms

   .. rubric:: Methods Summary

   .. autosummary::

      ~Sort.applied_columns
      ~Sort.applied_max_rows
      ~Sort.applied_min_rows
      ~Sort.apply
      ~Sort.commute
      ~Sort.is_supported_by
      ~Sort.simplify
      ~Sort.then

   .. rubric:: Attributes Documentation

   .. autoattribute:: columns_required
   .. autoattribute:: is_count_dependent
   .. autoattribute:: is_count_invariant
   .. autoattribute:: is_empty_invariant
   .. autoattribute:: is_order_dependent
   .. autoattribute:: terms

   .. rubric:: Methods Documentation

   .. automethod:: applied_columns
   .. automethod:: applied_max_rows
   .. automethod:: applied_min_rows
   .. automethod:: apply
   .. automethod:: commute
   .. automethod:: is_supported_by
   .. automethod:: simplify
   .. automethod:: then