Why is my code not working? Do I fill the tab, and then sort it in a right way? What should I change?