Cleaning up inputOrder validation