Move SortDirection from grid package to data package (#13334)

Change-Id: Id8fecbee0171b783a62d747433667267f530a6a7