uasort rocks. just ran little test and that seems to be what i need.
however, i've just realized something. the transitive propery of inequality doesn't really fully apply here. it does to the simple values for each array key, but when the tie breaking function kicks in, you could get a situation where:
a > b
b > c
c > a
doh!
this is for a skill/interest/personality test kind of thing (NO it's not scientology). the guy who worked on the test (statistician kind of guy) assures me that no 6-way tie is possible, but a 2, 3, or 5-way tie is possible. our tiebreaking algorithm can only guarantee resolution between 2 tied values.
my instinct tells me there is no general perfect solution to this problem if transitivity doesn't hold up. we would need to depend on some kind of heuristic evaluation of some other kind, no?
furthermore, just detecting the presence of a 3- or 5-way tie (really the only problematic scenarios) seems kinda complicated too. for instance
does a 3 way tie exist between the first, second, and third
or
the 2nd, 3rd, 4th
or
the 3rd, 4th, 5th
etc.
a general solution sounds really complicated.