This is descending. How would I swap to ascending so that when LMC outputs the numbers it shows in ascending order.
INP
STA A
INP
STA B
LDA A
SUB B
BRP BTOS
BRA BTOS2
BTOS LDA A
OUT
LDA B
OUT
BTOS2 LDA B
OUT
LDA A
OUT
A DAT
B DAT