Changed memory segment to use "unsafe" (native) memory accesses.
Mapped normalized key comparisons and record swapping in sorters to memory segment operations.