# StreamQueueCheckpointerOptions.CheckpointComparer

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.streamqueuecheckpointeroptions/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.streamqueuecheckpointeroptions/properties/)

[Source](https://github.com/dotnet/orleans/blob/8bc9fd244427351ad24ccc039a9e7642a42c1cc4/src/Orleans.Streaming/Checkpointers/StreamQueueCheckpointerOptions.cs)

```csharp
public IComparer<string>? CheckpointComparer
```

Gets or sets the comparer used to prevent a checkpoint from moving backwards.
