Put optfuncs in ABC order