question: Which film that Josef von Sternberg worked on was released later, The Shanghai Gesture or Macao?
answer: Macao
context: Title: Shanghai Express (film)
  Passage: Shanghai Express is a 1932 American Pre-Code film directed by Josef von Sternberg and starring Marlene Dietrich, Clive Brook, Anna May Wong, and Warner Oland.  It was written by Jules Furthman, based on a 1931 story by Harry Hervey.  "Shanghai Express" was the fourth of seven films von Sternberg and Dietrich made together.
  Title: Von Sternberg House
  Passage: The Von Sternberg House was mini-mansion designed by the architect Richard Neutra.  With only one bedroom, plus bedrooms for servants, it was built in 1935 at 10000 Tampa Avenue, Northridge, Chatsworth, on a plot of 13 acres (5 hectares) in California's then-rural San Fernando Valley for the movie director Josef von Sternberg.  The house was demolished in 1972 to make way for a housing development.
  Title: Macao (film)
  Passage: Macao is a 1952 black-and-white film noir adventure directed by Josef von Sternberg and Nicholas Ray.  Producer Howard Hughes fired director von Sternberg during filming and hired Nicholas Ray to finish it.  The drama features Robert Mitchum, Jane Russell, William Bendix, and Gloria Grahame.
  Title: The Shanghai Gesture
  Passage: The Shanghai Gesture is a 1941 American film noir directed by Josef von Sternberg and starring Gene Tierney, Walter Huston, Victor Mature, and Ona Munson.  It is based on a Broadway play of the same name by John Colton, which was adapted for the screen by Sternberg and produced by Arnold Pressburger for United Artists.  It was the last Hollywood film Sternberg ever completed (in 1951 he started directing "Macao", but was fired halfway through production by Howard Hughes, and the same thing happened with the 1957 "Jet Pilot").
  Title: The Blue Angel
  Passage: The Blue Angel (German: "Der blaue Engel" ) is a 1930 German tragicomedic film directed by Josef von Sternberg and starring Emil Jannings, Marlene Dietrich and Kurt Gerron.  Written by Carl Zuckmayer, Karl Vollmöller and Robert Liebmann – with uncredited contributions by Sternberg – it is based on Heinrich Mann's 1905 novel "Professor Unrat" ("Professor Garbage") and set in Weimar Germany.  "The Blue Angel" presents the tragic transformation of a respectable professor to a cabaret clown and his descent into madness.  The film is the first feature-length German full-talkie and brought Dietrich international fame.  In addition, it introduced her signature song, Friedrich Hollaender and Robert Liebmann's "Falling in Love Again (Can't Help It)".  It is considered to be a classic of German cinema.
citations: Macao (film) The Shanghai Gesture