Actually fix sorting this time

6am developering