Replace hitcount with kudos/hits percentage. Sort works on the page by this ratio.
< Feedback on AO3: Kudos/hits ratio
or, if you're using the "AO3: Quality score (Adjusted Kudos/Hits ratio)" version.
Change lines 132 to 134 to:
"var hits_count = parseInt(hits_value.text().replace(/\D/g, ''));
var kudos_count = parseInt(kudos_value.text().replace(/\D/g, ''));
var chapters_count = parseInt(chapters_string.toString().replace(/\D/g, ''));"
Thank you so much!
guys, if you're having problems with the huge ratios due to only bookmarks or kudos being over 1000. change the code in line 129 and 130 to
"var kudos_count = parseInt(kudos_value.text().replace(/\D/g, ''));
var bookmarks_count = parseInt(bookmarks_value.text().replace(/\D/g, ''));"
as shown in the picture.