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