Make quotes sorted by votes and id