fix(lib): `TreeMap` is dead, use `BTreeMap`