Data class representing a sorting criterion for query results.
This class defines how query results should be ordered based on a specific field and sort direction.
Enumeration of possible sort directions.
The direction of sorting (ascending or descending).
The name of the field to sort by.