Sorting an associative array

The array A; feel free to modify
function sourceDo itResult
___
___