I use nomics crypto apis for data.
My url for the api call is -‘https://api.nomic.com/v1/currency/ticker&key=my-key&ids=BTC, ETH, BNB,DOGE, XRP, USDT, ADA, DOT’
So using this url I want to call the coins data in the same order as they are written in the url.
But when I call it, the json file is sorted automatically by highest market_cap.
To maintain the earlier order, I need to sort the json file. How can I do it without affecting my url endpoint?? What’s the code required in js for this?? Any help would be really appreciated.