informal perfect order or organization
Commonly associated with the orderliness of American mothers baking apple pies, but the phrase seems to originate in British English. As with apple-pie bed, there may be a connection with French cap-à-pie ‘from head to foot’