In Lord of the Flies who represents duty and why?

Ralph represents order and duty. Ralph continued to build shelters even though almost all of the other boys had gone off to bathe, eat or play. Ralph reminded the other boys of the need for such simple rules as keeping the fire lit and using the designated area as a toilet. It was Ralph who walked alone across the causeway to castle rock, when they all felt certain that it must be the lair of the beast. He did it because he saw it as his duty, as chief. Ralph understood the lure of hunting and 'playing at being savages' but his sense of responsibility combined with what he saw as his duty as chief kept him focused on trying to instill a sense of order and purpose in the other boys.