You're missing the point.
comp:
mov ah, [bx+si]
mov al, [bx+di]
cmp ah, al
jge swap If it >= we jump to swap, else we fall through to swap.
swap: What have you accomplished?
mov [bx+si], al
mov [bx+di], ah
jmp disp1 Here you jump where? Right where you'd go if you removed this
;for displaying the array
disp1:
You need to mentally trace your code, asking yourself what happens at every step. Conditionals are the heart of processing. If they don't result in different paths, they're worthless.