an><a href="../../couchbase-lite/kotbase/-order-by/index.html">OrderBy</a><span class="clearfix"><span class="floating-right">(<a href="https://github.com/jeffdgr8/kotbase/tree/main/couchbase-lite-ee-ktx/src/commonMain/kotlin/kotbase/ktx/QueryBuilderExtensions.kt#L98">source</a>)</span></span></div><p class="paragraph">Create and chain an ORDER BY component for specifying the ORDER BY clause of the query.</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">the ORDER BY component.</p></spa