swift: this isn't python, sorted vs sort

Change-Id: I8abdecff0d71b35e3c7544cf1072ed39b58b9919