There's an evolution to it.
Starting out in a new "shop" area, there's a couple boxes/bins of misc. fastners. After some frustration, one sorts them to threaded (nuts/bolts) screws, and misc. specialty. In about two years of use, the first two categories get sorted again into maybe large and small, plus boxes for large and small nuts. After more years of frustrating hunts, the fasteners maybe get sorted as to thread size/ screw size. From there, maybe to head configuration within a size. It just grows and grows as one accumulates fasteners, misc. hardware, tooling, etc., etc. After each re-orginization and new storage containers, you'll get a couple of years of minimum search time.
Here's where I'm at now with a salvaged retail store gondola and Akro Mills storage boxes. The wooden drawer units I built 20 years ago thinking "that's all I'll ever need". At the time, that's all the hardware and stuff I had. Times change. The last photo show a bottom row of nuts, second row of washers, and third row of lock washers arranged as to thread size. The top row has bins of small threaded fasteners that will fit into one bin. Lately, I've had to sort out the nuts and washers for the 10-24 and 10-32 thread sizes.