Applies the key order which is ID field (IIdRow)
IIdRow
protected virtual void ApplyKeyOrder(SqlQuery query)