Extracted the essence of Dmytro Zavalkin's commit in the aoepeople fork 'implemented items setting items order via params argument' (while ignoring whitespace)