I have searched around on the Internet a bit and tried to find a way to do this, but still haven't found one I very much like because most of them seem to use some kind of "distance" variable and that's not what I'm after. The prerequisites are that there is a finite number of items (in my case horses) that can be ranked in different orders (n^x I guess). But then I would like to see how similar they are, and also the top is much more important then the bottom. So if for example it's a 12 horse race and two ranks have 6 of the horses ranked exactly the same way, but then it differs slightly on the other 6 [say 1,2,3,4,5,6,9,10,7,8,11,12 vs 1,2,3,4,5,6,10,9,7,8,12,11] would I want "more" alike then if only the first 2 are the same...

Does anyone have any ideas?