using comparable rating instead of sql order by rating