Method to organize transactions by recognized gains?

Is there a way to organize transactions by recognized gains, or at least sort by that? I need to review what is causing my capital gains to be off.

this would be awesome and is a massive oversight