<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<p>
In this example, we use the
<a
href="https://www.flexmonster.com/api/field-object-slice/#sort"
target="_blank"
>sort</a> property to set descending order for members of the
<code>Category</code> field (line 13 in the JavaScript box).
</p>
<div id="pivot-container">The component will appear here</div>