[#BloombergLP-bdld-DatumIntMapBuilder-setSorted] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumIntMapBuilder.adoc[DatumIntMapBuilder]::setSorted :relfileprefix: ../../../ :mrdocs: Mark the Datum int‐map being built by this object as sorted if the specified `value` is `true` and mark it unsorted otherwise. This function does not sort the int‐map entries, or mark them to be sorted later; the function should be used to indicate if the entries are being appended in sorted order. The behavior is undefined if `commit` or `sortAndCommit` has already been called on this object. The behavior is also undefined if the int‐map being constructed is marked sorted, but the entries are not appended in sorted order. Note also that the int‐map being constructed is marked unsorted by default. == Synopsis Declared in `<bdld_datumintmapbuilder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setSorted(bool value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#