A group of people are outside working.
A group of children are swimming outside.
People can't be working while swimming.
People are standing outside of a shopping mall.
A group of children is not the same as "a group of people".and while the children  are swimming outside the people are outside working.