Update README.md

I used the sorted function. This simplifies your code, making it so you don't need the print statements. You can also call on the function later!
Merge pull request #2 from jdeno/patch-1

Update README.md