Agree, more terrible advice from a fish store, and advice that is detrimental to the poor fish who will suffer. Corydoras are shoaling fish, and must have a group of around 10 or more. The pygmy species is especially vulnerable to too few, and this causes them to be under continual stress which leads to poor health. A group of 10-12 is minimum for this species. The Corydoras authority Ian Fuller says this species needs larger groups than the other species, and he has been studying this fish, collecting them in South America, and spawning them for years.
However, that raises the second problem, the betta. As other members above have noted, this cory likes to swim all over the tank, it does not ever stay on the sand. It is likely to infuriate the betta, and that only increases the stress on the cories.
Cories also need sand, something that needs mentioning.
Explain to your sister that this situation is inhumane to the poor fish that have no escape from what we provide them. Advice from the store cannot be trusted.