Rearrange this array so that it is in ascending order.
[5, 3, 8, 4, 1]
Here is the rearranged array in ascending order:

[1, 3, 4, 5, 8]
Complete the following task based on the instruction and optional input provided.### Instruction:
Rearrange this array so that it is in ascending order.

### Input:
[5, 3, 8, 4, 1]

### Output:
Here is the rearranged array in ascending order:

[1, 3, 4, 5, 8]