sort results by attribute
Merge pull request #4 from cedrikv/master

sort results by attribute