SyntaxFix
Write A Post
Hire A Developer
Questions
This will give you a sorted version of the array.
sorted(timestamps, reverse=True)
If you want to sort in-place:
timestamps.sort(reverse=True)