diff -r 8ff82697f2c3 -r 148b7c7ccaf9 src/cx/collection.h --- a/src/cx/collection.h Sat Jan 25 15:22:01 2025 +0100 +++ b/src/cx/collection.h Tue Jan 28 18:31:17 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; }; /**