Essentially, I have a list of items that have been voted on by varying numbers of people. I want to sort the list from 'best' to 'worst'.

Actually, what you have is as much a business problem as a programming problem. This is a value call. Your company is collecting this info for a reason - so what weight to they put number of votes versus consistency of votes? How do these numbers relate to their business, or what they're trying to find out?

Once that's defined, then the progrmaming can be done to reflect that. For the moment, it sounds like you're going at it the other way around, letting programming define the evaluating criteria of the company.

If you're the programmer, I'd be taking this question to those who will be interpreting the data and asking them their priorities. Not because you're lost and want to be told what to do - because you want to ensure that the data anaylisis and representation as accurately as possible reflect the business decision criteria of management. Make you look like the thinking programmer of the bunch to management too.




Forget that fear of gravity,
Get a little savagery in your life.

In reply to Re: Sorting Votes, Confidence & Deviations by punch_card_don
in thread Sorting Votes, Confidence & Deviations by saintly

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.