fixed sorting and resizing bugs