diff -r e3bb67b72d33 -r 68ff0839bc6a src/cx/collection.h --- a/src/cx/collection.h Mon Jan 27 20:27:39 2025 +0100 +++ b/src/cx/collection.h Tue Jan 28 18:27:46 2025 +0100 @@ -92,6 +92,11 @@ * instead of copies of the actual objects. */ bool store_pointer; + /** + * Indicates if this collection is guaranteed to be sorted. + * Note that the elements can still be sorted, even when the collection is not aware of that. + */ + bool sorted; }; /**