Fixed typo when calling orderFunction.