#JavaScript (ES8), 69 67 62 bytes
JavaScript (ES8), 69 67 62 bytes
Takes input as integers, in ascending order, using currying syntax. Returns an array of strings.
x=>y=>[...Array(++y-x)].map(_=>s="".padEnd(s.length)+x++,s="")
##Try it
Try it
o.innerText=(f=
x=>y=>[...Array(++y-x)].map(_=>s="".padEnd(s.length)+x++,s="")
)(i.value=93)(j.value=105).join`\n`
oninput=_=>o.innerText=f(Math.min(i.value,j.value))(Math.max(i.value,j.value)).join`\n`
label,input{font-family:sans-serif}input{margin:0 5px 0 0;width:100px;}
<label for=i>x: </label><input id=i type=number><label for=j>y: </label><input id=j type=number><pre id=o>