Sort fields

new EngineCore.Meta.ConditionMeta.CompareCondition {FieldId = "Calendar", Op = EngineCore.Meta.ConditionOperators.Equal, Value= new EngineCore.Meta.ConditionMeta.ConstantValue {Value = "2886"}}}},
sortFields: new EngineCore.Meta.SortFieldMeta[] {new EngineCore.Meta.SortFieldMeta {FieldId = "StartDate", Descending=false}},
template:  
@<ul class="nav nav-tabs nav-stacked">                                
    @foreach(EngineCore.Data.EngineRecord record in item) {        
          <li><a href="/eventdetail/@record.Href"> 
          @if(!@record.IsDBNull("StartDate")){
           @(record.GetDateTime("StartDate").ToString("d") + ":")
            }
            @if(!@record.IsDBNull("Title")){
                @record.GetString("Title")
            }
            @if(@record.IsDBNull("Title")){
                @("No Title")
            }
           </a></li>                                
    }                        
</ul>)