SQL optimisations.
Add default order by clause.
Merge pull request #9 from Nevtep/properties-db

Properties db