How to sort integer array in KornShell. Found this link, KornShell Sort Array of Integers but it seems to be not working and throwing error.
Code:
NUM_A
You can use sort with process substitution:
sort
sort -n <(printf "%s\n" "${NUM_ARR[@]}")