Column sorting does not work as expected on reference columns. Clicking on the sort function a second time does not lead to a change in sorting order. Inspection of the model shows that the initial order by element is appended to the orderbyclause as many times as the sort action is clicked.
ex.: orderByClause:“Product.Name ASC NULLS LAST,Product.Name ASC NULLS LAST,Product.Name ASC NULLS LAST,ClosedDate DESC”
<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" useviewportmeta="true" showheader="true">
<models>
<model id="Cases" limit="2000" query="true" createrowifnonefound="false" datasource="salesforce" type="" sobject="Case" orderby="ClosedDate DESC">
<fields>
<field id="RecordTypeId"/>
<field id="Id"/>
<field id="Subject"/>
<field id="CreatedDate"/>
<field id="ClosedDate"/>
<field id="ProductId"/>
<field id="Product.Name"/>
</fields>
<conditions>
<condition type="fieldvalue" value="" enclosevalueinquotes="true" field="ProductId" fieldtargetobjects="Product2" state="filterableoff" inactive="true" name="ProductId"/>
</conditions>
<actions/>
</model>
</models>
<components>
<skootable showconditions="true" showsavecancel="false" showerrorsinline="true" searchmethod="server" searchbox="true" showexportbuttons="false" pagesize="10" alwaysresetpagination="false" createrecords="false" model="Cases" buttonposition="" mode="readonly" allowcolumnreordering="false" responsive="false" uniqueid="sk-3_NPqR-393">
<fields>
<field id="Id" hideable="false" uniqueid="fi-3_NVNe-410" valuehalign="" type="" showbydefault="true"/>
<field id="Subject" hideable="false" uniqueid="fi-3_NVNe-411" valuehalign="" type="" showbydefault="true"/>
<field id="CreatedDate" hideable="false" uniqueid="fi-3_NVNe-412" valuehalign="" type="" showbydefault="true"/>
<field id="ClosedDate" hideable="false" uniqueid="fi-3_NVNe-413" valuehalign="" type="" showbydefault="true"/>
<field id="ProductId" hideable="false" uniqueid="fi-3_NVNe-414" valuehalign="" type="" showbydefault="true" allowordering="true"/>
</fields>
<rowactions/>
<massactions usefirstitemasdefault="true"/>
<views>
<view type="standard"/>
</views>
</skootable>
</components>
<resources>
<labels/>
<javascript/>
<css/>
<actionsequences uniqueid="sk-3_NApN-245"/>
</resources>
<styles>
<styleitem type="background" bgtype="none"/>
</styles>
</skuidpage>