added default sorting for data coming from the database
Merge pull request #27 from timothymiko/feature-fragment

Updated database stuff