Enum ModelSort
- Namespace
- CivitaiSharp.Core.Models
- Assembly
- CivitaiSharp.Core.dll
Sorting options for model queries.
public enum ModelSort
- Extension Methods
Fields
HighestRated = 0Sort by user rating with highest rated models first (descending). Maps to API value "Highest Rated".
MostDownloaded = 1Sort by download count with most downloaded models first (descending). Maps to API value "Most Downloaded".
Newest = 2Sort by creation date with newest models first (descending). Maps to API value "Newest".
Remarks
These values represent complete sort options with implied sort directions, not arbitrary field names. The Civitai API does not support toggling ascending/descending independently. For example, "Newest" implies descending by date, and "Most Downloaded" implies descending by download count.
API string mappings are defined in ApiStringRegistry.