My electronics instructor in the 90s had worked in industry in the 70s/80s at Ball aerospace. One of the jobs he worked on there was building at test fixture for the star navigation systems from IIRC the first space shuttle.
He said it involved going through thousands of LEDs (expensive at the time) and bin them based on brightness so they could arrange them based on the intensity of the stars.
Interesting to see similar stuff here :)