Parse orders input