The Python Oracle

How can I sort a coordinate list for a rectangle counterclockwise?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game Looping

--

Chapters
00:00 Question
01:33 Accepted answer (Score 11)
02:07 Answer 2 (Score 5)
02:46 Answer 3 (Score 3)
03:18 Answer 4 (Score 3)
03:51 Thank you

--

Full question
https://stackoverflow.com/questions/1709...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #algorithm #sorting #coordinates #geospatial

#avk47