Refactor get_comments_sorted_by_weight

Instead of passing a comments object, we can pass the post ID and run a WP_Comment_Query.
Then we can use this in the widget class. It will be easier to test.