How did Dmitri Mendeleev transform chaotic elements into a predictive, ordered table that shaped chemistry forever?