Knowing what’s what
To know what's what means to have a good general understanding or knowledge and is first attested from Charles Dickens Pickwick Papers (1837), “She knows wot’s wot, she does.”