Identifying Shares Sold in content page of articles
Before selling shares, determine which shares will minimize your capital gain or maximize your loss. To minimize gain, you should sell the shares with the highest basis. To maximize loss, you should sell the shares with the lowest basis.
If you don't identify the shares you sell in writing before selling them, the IRS assumes you used the first-in, first-out method.