Algeria beats Jordan 2-1 in World Cup first win since 2014