Tweak filter/sort inputs to have consistent padding