I have to display a list of matches in my Django sport app. I already defined a function to have a list of all matches.
Each match as a DateTime "real\_start", and I would like to sort them by that date.

This is my list of matches:

```
    matches = Match.live_matches.all()

```

I tried 
 matches.sort(key=lambda x: x.real\_start, reverse=True)

but it doesn't work.

Any help would be welcome.Thanks.