added sorting by votes