Ballots are range with finite number of range choices. Think of the cutoff between each range value as a virtual candidate.
List all of the candidates, virtual or not, in order of median range value. While any candidate pairwise beats its immediate superior, swap the highest such pair in the list. Elect the highest non-virtual candidate in the modified list. [Compare with Range Bucklin] Forest ---- election-methods mailing list - see http://electorama.com/em for list info