Given a list of x, y value, sort the list in ascending order based on their distance to the origin.
Implement sort_points(points), where points is a list of two-element coordinate lists [x, y]. Return a new list ordered by increasing Euclidean distance from (0, 0). Points with equal distances must retain their original relative order.
def sort_points(points):