Strange OrderBy behaviour

Given the following objects:

IUntypedSqlExpression q
string sortField1 = "FirstField"
string sortField2 = "SecondField"

The following returns ORDER BY [SecondField]:


While this returns ORDER BY [FirstField] DESC, [SecondField] DESC


Can you verify this behaviour? I got this with ServiceStack 5.5.0.

Should be resolved from this commit, this change is available from v5.5.1 that’s now available on MyGet.