Using Addons with your query is a great way to get the total number of likes or votes, but if you want to be able to sort by top-liked/voted items, you will need to use another method.
How to track the likes or votes by adding to field set to Array
Learn how to track likes or votes in a column (field) that is set up to act as an array of users who voted for an item.