New Sorts

Built outline for sort which sorts one 2D array and one 1D reference
array.