Improved sorting sample code. Issue #11
Merge pull request #12 from darkowlzz/patch-1

Improved sorting sample code. Issue #11