Fix accepted ratio sorting

- some SQL DBs(sqlite, etc) processe "integer / integer" as a integer divison
- add "1.0 * " to fix for sqlite3
- thanks to hodduc