Algeria rallied to eliminate debutants Jordan and keep their Round of 32 hopes alive at the FIFA World Cup 2026.