Returns the sort direction of the specified attribute in the current request.
public getAttributeOrder ( string $attribute ) : boolean | null | ||
$attribute | string | the attribute name |
return | boolean | null | Sort direction of the attribute. Can be either `SORT_ASC` for ascending order or `SORT_DESC` for descending order. Null is returned if the attribute is invalid or does not need to be sorted. |