distinct sort issue fix
Merge pull request #84 from benitoro/master

distinct sort issue fix