Added first prototype of a sort method to re-order a queue by a vote system that avoids starvation.