Lord of the Flies was a fictional novel, it never happened, it’s not real and shouldn’t be used to inform your thinking.
Especially when real life instances of groups of young children being stranded without adult help exist and play out in ways directly opposite of the novel’s central thesis.
You can make any society work if you're writing fiction.
For example, Star Trek is Roddenberry's idea of a utopia. A benevolent dictator with his happy ship of comrades all rowing together. (But hey, I enjoyed watching it!)
STTNG amps that up even further. It got so heavy-handed with it I lost interest in it.