SortParams constructor Null safety
Creates a new instance and initializes it with specified sort fields.
fields
a list of fields to sort by.
Creates a new instance and initializes it with specified sort fields.
fields
a list of fields to sort by.