forgot .each after sort

Sorry chaps