[PATCH] Avoid excessive sorting of early_node_map[]