Table of Contents

Enum ImageSort

Namespace
CivitaiSharp.Core.Models
Assembly
CivitaiSharp.Core.dll

Sorting options for image queries.

public enum ImageSort
Extension Methods

Fields

MostCollected = 2

Sort by the number of times images have been collected (descending). Maps to API value "Most Collected".

MostComments = 1

Sort by the number of comments and discussions (descending). Maps to API value "Most Comments".

MostReactions = 0

Sort by the total number of reactions received (descending). Maps to API value "Most Reactions".

Newest = 3

Sort by creation date with newest first (descending). Maps to API value "Newest".

Oldest = 4

Sort by creation date with oldest first (ascending). Maps to API value "Oldest".

Random = 5

Random order. Maps to API value "Random".

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 Reactions" implies descending by reaction count.

API string mappings are defined in ApiStringRegistry.