sort based on value
Merge pull request #3 from jonculloty/newbranch

sort based on value