Clever but the truth is you don’t need to shake it. They will fight automatically.
Not to mention, different color ants are different species.