Sort the following array in ascending order [3, 6,1,8].
Here is the sorted array in ascending order: [1, 3, 6, 8].
Complete the following task based on the instruction and optional input provided.### Instruction:
Sort the following array in ascending order [3, 6,1,8].

### Output:
Here is the sorted array in ascending order: [1, 3, 6, 8].