Method in someone's madness

When someone is doing something that seems crazy or strange to everyone but the result of his/her activity impresses everyone

Examples

Wait a minute, Steve. Maybe there's a method in Carl's madness. We should let him do what he suggests.