In the long run, firefish do not tend to get along with another or conspecific unless they are part of a mated pair. In the short run, it tends to work out until they have established territories. That is why a 40 gallon with 30 of them at your LFS is not a problem.