clever code, geometry, sorting, atan2

Level C