The algorithm was sorting punch cards and then putting the cards in different stacks on a table.
We can only hope that the surveillance state is still working with the same algorithm…