[TAV-394] Order input/output ports consistently.

Now done alphabetically, A-Z, case insensitive.
Move child run initialization into a callback.

This removes the need for special methods to create child runs; just pass in a
parent when creating it.
Fix sample view so that only input file or value shown.