I have a list of links for eg:
['google.com','facebook.com','instagram.com']
I wanna sort the links by their latency. Is there any way i can ping the website and check latency?
If it's a video playing link then is it possible to test the speed?
Edit: Nick's answer solves the latency for me but still looking for an answer for speed of the server