Complete the code to set the sort direction to ascending.
params = {"sort": "name", "direction": "[1]"}The correct sort direction for ascending order is "asc".
Complete the code to set the sort direction to descending.
params = {"sort": "date", "direction": "[1]"}The correct sort direction for descending order is "desc".
Fix the error in the sort direction value to make it valid.
params = {"sort": "price", "direction": "[1]"}The API expects 'asc' or 'desc' for direction. 'desc' is the correct value for descending.
Fill both blanks to create a query with ascending sort on 'title'.
params = {"sort": "[1]", "direction": "[2]"}The sort field should be 'title' and direction 'asc' for ascending order.
Fill all three blanks to create a query sorting by 'rating' descending.
params = {"sort": "[1]", "direction": "[2]", "limit": [3]Sort by 'rating' with direction 'desc' and limit results to 10.
