sort height by depends