Added sorting of queue by votes