small refactor to first version. new version sorting letters.