https://en.wikipedia.org/wiki/Spaghetti_sort
There used to be electric analog computers. I've been working on an analog photonic computer (very theoretically so far) that I think could work.
Do you know how many electrons you move when you execute an instruction? It's like on the order of 10^18. I might be able to get away with a couple of photons.