reorder example in a more logical way