Sort an array into two halves, one half ascending and second half descending Command Line Language

Please provide the answer in comments for this program

One comment on “Sort an array into two halves, one half ascending and second half descending Command Line Language”