Order

OrderBy

var query = new Query("Comments").OrderBy("Date").OrderByDesc("Name");
SELECT * FROM [Comments] ORDER BY [Date], [Name] DESC

OrderByRaw

var query = new Query("Comments").OrderByRaw("[Likes] DESC NULLS LAST")

In PostgreSql

SELECT * FROM "Comments" ORDER BY "Likes" DESC NULLS LAST