Original sentence: The first fourteen picks in the draft belonged to teams that had missed the 2007 NBA Playoffs, with the order determined through a lottery held on May 22, 2007.The remaining first-round picks and the second-round picks were assigned to teams in reverse order of their win-loss record in the 2006–07 NBA season
Edited sentence: The first fourteen picks in the draft belonged to teams that had missed the playoffs, with the order determined through a lottery held on May 22, 2007.The remaining first-round picks and the second-round picks were assigned to teams in reverse order of their win-loss record in the previous season