"the shares purchased first will always be sold first"Bart, are you sure of this? My understanding is that you can choose which shares are the subject of a sale.