Implemented STL Vector in hand implemnt sort