An Egyptian state security prosecutor has ordered six Israelis and three Egyptians to be tried for spying on Egypt.