sort associative arrays in ascending order, according to the value