Unifications

unifying the swap func , making other sort functions with namespace sort
and adding quick sort to the enum