functionality for ranking an idea