fixes #826

Optimize sort visibility for container=)