Sort gate