I have a list of items that have `X`

and `Y`

coordinates. Now, there's a method that takes `X`

and `Y`

parameters and should return a the list of coordinates ordered from the closest to the farthest based on the given parameters.

Basically, it looks something like this:

```
class Point:
x = 0.0
y = 0.0
# List of points
points = ...
def get_ordered_list(x, y):
# return 'points' ordered by distance to (x,y)
```

I'm new to Python so I have pretty much no idea how to order the items. How would I do that?