If you are using a VBARPARM (like the code above), you will need to use PROC SORT to sort the…