Transparency sorting in place