@model IEnumerable<FlexGridData.Sale>

<h1>
    Stable Sort
</h1>
<p>
    The CollectionView class has a "stableSort" property that allows
    you to keep the original sequence of items when sorting by
    any fields in the data objects.
</p>
<p>
    For example, this sample creates a CollectionView based on
    a list of items sorted by Country and ID. If you sort the
    grid by any property (e.g. Active), items with the same
    sort property value will be sorted according to the original
    order (sorted by Country and ID):
</p>
@(Html.C1().FlexGrid().Id("theGrid").Height(250)
    .Bind(b=>b.Bind(Model).DisableServerRead(true))
)

<p>
    The "stableSort" property does have a performance cost. 
    Therefore, it is set to "false" by default and should be
    set to "true" only when needed.
</p>    