add sort in method fetchProductsByCategory, and add method fetchProductsByUrl
ount

add sort in method fetchProductsByCategory, and add method fetchProductsByUrl
throw InvalidRequestException when api status is 400