i\'m playing around with sorting a list in different ways and had no problems until I decided to try and write it in a single line using the sort() method inside an f-string: