Grid.MVC Sorting Bug
<p>Grid.MVC sorting not working as expected. For example I have a column with a number value and also date values. The screen shots provided show only the Total Premium sort not working right, but the same thing happens on the Effective Date Column as well. Is there something additional I need to do to tell it its a number or date so it sorts correctly?</p>

<pre><code>@Html.Grid(Model.SearchResult).Named("searchGrid").Columns(col =&gt;
{
col.Add(c =&gt; c.PolicyNumber).Titled("Number").Sortable(true);
col.Add(c =&gt; c.FormattedInsuredName).Titled("Insured Name").Sortable(true);
col.Add(c =&gt; c.FormattedAddress).RenderValueAs(m =&gt; Html.Raw(m.FormattedAddress)).Encoded(false).Sanitized(false).Titled("Property Address").Sortable(true);
col.Add(c =&gt; c.Status).Titled("Status").Sortable(true);
col.Add(c =&gt; c.FormattedEffectiveDate).Titled("Effective Date").Sortable(true);
col.Add(c =&gt; c.FormattedTotalPremium).Titled("Total Premium").Sortable(true);
col.Add().Encoded(false).SetWidth(150).Sanitized(false).Titled("Action").RenderValueAs(dd =&gt; Html.DropDownList("ddlAction", dd.DropDownActions, new { @class = "form-control ddlAction", @data_viewquote = dd.QuoteURL }));
}).WithPaging(25).Sortable(true)
</code></pre>

<p>From the screen shot below you can see that the Total Premium column is being sorted incorrectly. There are screen shots for both ASC and DESC.</p>

<p><a href="https://i.stack.imgur.com/Q1Z52.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Q1Z52.png" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/aqCTn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aqCTn.png" alt="enter image description here"></a></p>