Fix ordering issue in example