started with sorting in menu, but doesnt work yet