Sort commits when cherry-picking topic

Change-Id: I7a89235de9375194c6ca8a446189b77ab9ebf39f