class Dbee::Query::Sorters
Top-level class that allows for the making of sorters. For example, you can call this as:
-
Sorters.make(key_path: 'id', direction: :ascending)
-
Sorters.make(key_path: 'id')
-
Sorters.make(key_path: 'id', direction: :descending)