Description: Random function is defined using 10 pairs (x, y) value, thus creating the Point class instance into an array, according to the origin (0,0) the order from small to large output of all the points and the origin distance.
File list (Check if you may need any files):
Point.java