sorting fix
Merge pull request #14 from igorii/master

sorting