It makes room for more items. but the items that were in the tab just disappear. I have checked the surrounding area in case they were dropped, the remaining stash tabs, and my inventory. I tested multiple times and every time I press sort on a full stash tab it chooses some items and deletes them to make more space.