mkjson: Reorder packages to keep vers together