Add default ordering API method.

Also expose the textbox mode method on InvTweaksAPI.