Added direction field to SortExpression

Change-Id: Ib46f5d832273b2045e846b324a03b34af31a65d4