Added sorting
Merge pull request #124 from erwinwinder/master

Added sorting