I'm interested in learning about ranking algorithms that sort items based on preference. For example: If a person was food taster/judge and had 10 small bowls of chili that they had to rank in order from best to worst, in what way should the judge taste the chili from the individual bowls to complete the task of ranking with as small a number of repeat tastings of the same bowl as possible? The initial approach I thought of was as follows. I've named the bowls A - J:
initial order:
A, B, C, D, E, F, G, H, I, and J
Taste A then taste B. If B is better than A, switch them around in the order.
Judge thinks B is better than A:
B, A, C, D, E, F, G, H, I, and J
Taste A then taste C. If C is better than A, switch them around in the order.
Judge thinks C is better than A:
B, C, A, D, E, F, G, H, I, and J
Already though there is a problem. What if C was also better than B? We could complete the process then repeat again but its not clear to me how many times the process would have to be repeated in order to have everything ranked properly. What kinds of algorithms are these? Where can I learn more about them. Thanks.