private void AddOrder(string column, string direction)
{
if (string.IsNullOrEmpty(column))
{
throw new ArgumentException(ExceptionMessages.ArgumentNullOrEmpty.FormatWith("column"));
}
this.InnerSql.Append(!this.addedOrder ? " ORDER BY " : ",");
this.InnerSql.Append(this.SqlCharacters.EscapeSql(column));
this.InnerSql.Append(direction);
this.addedOrder = true;
}