Amazon uses a warehouse storage "planning" method looks a lot like this. Items are placed on shelves based on proximity and empty space, not on what the items are.
This "disorganized" warehouse is faster for the robots to access as they simply memorize where each item was placed on arrival.