I have a work sheet with multiple columns

I have data in Column A to D the column may increase based on the requirement

I want a code to sort data all columns independently and copy all independent columns to next sheet in one column (A) a sin Attachment.