diff --git a/cli/args/mod.rs b/cli/args/mod.rs
index fe6883f2c7..8347a610cc 100644
--- a/cli/args/mod.rs
+++ b/cli/args/mod.rs
@@ -49,7 +49,7 @@ use deno_runtime::deno_tls::webpki_roots;
use deno_runtime::inspector_server::InspectorServer;
use deno_runtime::permissions::PermissionsOptions;
use once_cell::sync::Lazy;
-use std::collections::HashMap;
+use std::collections::BTreeMap;
use std::env;
use std::io::BufReader;
use std::io::Cursor;
@@ -799,7 +799,7 @@ impl CliOptions {
pub fn maybe_package_json_deps(
&self,
- ) -> Result