Versions in this module Expand all Collapse all v1 v1.0.0 Aug 11, 2022 Changes in this version + var Ordered = Order + type Direction int + const ASC + const DESC + const DefaultDirection + func (d Direction) Ascending() bool + func (d Direction) Descending() bool + func (d Direction) ToString() string + type Order struct + func (o Order) Asc(property string) Order + func (o Order) By(property string) Order + func (o Order) ByProperties(direction Direction, properties ...string) (orders []Order) + func (o Order) Desc(property string) Order + type Sort struct + func Sorted() *Sort + func (s *Sort) Asc(property string) *Sort + func (s *Sort) By(property string) *Sort + func (s *Sort) ByOrder(orders ...Order) *Sort + func (s *Sort) ByProperties(direction Direction, properties ...string) *Sort + func (s *Sort) Desc(property string) *Sort + func (s *Sort) FirstAscString() (str string) + func (s *Sort) Reset() + func (s *Sort) ToString() (str string)