Use a stable_sort to define the algorithm function property order.

This ensures that the relative ordering of equivalent values is preserved.

Refs #9781
Merge branch 'bugfix/9781_python_function_argument_order' into develop