sort data returned by database (server side)
Merge pull request #86 from therobinkim/master

sort data returned by database (server side)