According to the Pistons official twitter ...
Bad news: Philly wins lottery tiebreaker with Pistons. Doesn't affect shot at No. 1, but Philly will go 6, PIstons 7 if neither is top 3.
This is awesome news. However; If the Pistons move into the top 3, the Sixers will pick seventh, I believe. If neither team moves into the top 3, and none of the teams below them move into the top 3, the Sixers pick sixth.