Find the most efficient way to sort the following array using a single line of code. 

[6, 8, 12, 4, 7]
[6, 8, 12, 4, 7]
sorted([6, 8, 12, 4, 7])
Complete the following task based on the instruction and optional input provided.### Instruction:
Find the most efficient way to sort the following array using a single line of code. 

[6, 8, 12, 4, 7]

### Input:
[6, 8, 12, 4, 7]

### Output:
sorted([6, 8, 12, 4, 7])