[PATCH v2 21/28] binman: Move sort and expand to the main Pack() function