[PATCH 18/25] binman: Move sort and expand to the main Pack() function