turingschool / curriculum

Turing's main repository of tutorials and projects
385 stars 502 forks source link

Adjust alphabetization on suggest method #1203

Closed hhoopes closed 7 years ago

hhoopes commented 8 years ago

@rsbarbo and I noted that the return value of completion.suggest("piz") is no longer alphabetized, "pize" being after "pizzle." The spec doesn't explicitly state that it should be alphabetized, but as-is, the the expectation for the return value is inconsistent/hard to interpret.

Thank you!