
This patch modernizes the for-range-loop code to copy a map with "maps.Clone" and "maps.Copy", also eliminates "copyFloats" with "slices.Clone". Also simplify "aggSort" and "sortMap" with slices and maps functions. Signed-off-by: Jes Cok <xigua67damn@gmail.com>