Auto-sorts when changes are committed, not as user enters them.
Improved behaviour of time-varying/array time-varying

Now, if the user tries to enter a negative time value, it'll revert to
0. This is necessary at least because -1 is used as the delimiter
between tables in the array time-varying input.
Merge branch 'issue6_auto_tables'