A comparison sort is a type of sorting algorithm that only reads the list elements through a single abstract comparison operation that determines which of two elements should occur first in the final
Sorting a set of unlabelled weights by weight using only a balance scale requires a comparison sort algorithm.
A scale or balance is a device used to measure weight or mass. These are also known as mass scales, weight scales, mass balances, massometers, and weight balances.
Comparison sort
…basic operations such as swaps or assignments. A metaphor for thinking about comparison sorts is that someone has a set of unlabelled weights and a balance scale. Their goal is to line up the weights in order by their weight without any information except that obtained by placing two weights on the scale and…
Scales used to measure the weight of fruit in a supermarket
Digital kitchen scale, a strain gauge scale
Weighing scale for a baby includes a ruler for height measurement