Always sort the parameters input form

Fixed #265. It wasn't a problem with the conditional, it was the wrong sort key! No wonder it never worked. The bad commit was actually 72cae65b90bb0c5417bb2703dd85a56c9287a5a0 in the first place.

This will also sort parameterized classes ("node group class membership").