Or simply put one partial stack on top of the other (when using a mouse, left click on the item you wish to move and then either drag it to or click again on the spot you want it moved to) and it'll top it off. I recommend sorting first so it's easier to find the stuff to be combined.