CreatedAt Sort Clause¶
The CreatedAt
Sort Clause sorts search results by the date and time of the creation of a product.
Arguments¶
sortDirection
(optional) -CreatedAt
constant, eitherCreatedAt::SORT_ASC
orCreatedAt::SORT_DESC
.
Example¶
1 2 3 4 5 6 7 |
|