I want to fetch order sorted by order id in asc order

i’m trying this URL to get orders in sorted manner. it’s working when i open it in browser but when i use in code i’m not getting response. Please seniors guide me. "https://e40d268c547bab9b4f49d449e1953480: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@khuda-baksh.myshopify.com/admin/api/2021-04/orders.json?limit=2&created_at_min=2021-11-22&created_at_max=2021-11-30&order=id asc "

____________MY PHP CODE USING CURL GET REQUEST _________________
$curlSession = curl_init();
curl_setopt($curlSession, CURLOPT_URL,$url);
curl_setopt($curlSession, CURLOPT_BINARYTRANSFER, true);
curl_setopt($curlSession, CURLOPT_RETURNTRANSFER, true);
$response=curl_exec($curlSession);
$jsonData = json_decode($response);
print_r($jsonData);