Fix typo in syntax sort
Call focus after sorting