Assume you would like to sort an array in ascending order by value while preserving key associations. Which of the following PHP sorting functions would you use?
A
ksort()
B
asort()
C
krsort()
D
sort()
E
usort()
Correct Answer: asort()