I believe TurboTax gets their data from the broker 1099 which does not always list trades in exact order of execution, does not have your positions carried over from last year cost basis, does not adjust for stock splits, etc.
In addition the 1099 does not calculate wash sales. In the case of...