Fix accepted ratio sorting

- some SQL DBs(sqlite, etc) process "integer / integer" as a integer division
- add "1.0 * " to fix for sqlite3
- thanks to hodduc
Merge pull request #23 from kcm1700/ratio-sort-fix

Fix accepted ratio sorting