:right-sidebar: True SorterOrder =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: SorterOrder :no-contents-entry: Describes the type of order that a ``GtkSorter`` may produce. Fields ------ .. rst-class:: interim-class .. class:: SorterOrder :no-index: .. attribute:: NONE No order, all elements are considered equal. :func:`~gi.repository.Gtk.Sorter.compare` will only return :const:`~gi.repository.Gtk.Ordering.EQUAL`. .. attribute:: PARTIAL A partial order. Any ``GtkOrdering`` is possible. .. attribute:: TOTAL A total order. :func:`~gi.repository.Gtk.Sorter.compare` will only return :const:`~gi.repository.Gtk.Ordering.EQUAL` if an item is compared with itself. Two different items will never cause this value to be returned.