Investors & landlords

The broker will use the standing rule to construct your 1099-B sent to the IRS.

The default is FIFO,

You could for example change your standing rule to Last In, First Out.

If you did that it would only operate on future sales.