I said Defense, meaning the modern one (aka the structure of command of all US military)... The War part was a mistake as l simply forgotten who the Department of War was not the exact predecessor of the Department of Defense (but included only Army and a not yet independent AirForce)...You forget the Secretary of the Navy, which was coequal with the Secretary of War.
In any case, IMHO those departments would be at the bottom of the list.
Attorney General and Treasury would come first, representing core elements of the Executive Branchj.
A department of War who do not include Navy will be after Treasury and Attorney General, that is sure (War will be 7th and Navy 8th in the order of succession)... Now I will correct my previous post