Vector sorting now stand alone functions

Removed sorting algortihms from SortableArray class and refactored
them as simple functions. Changed Tests and performance measuring.