Use std::swap algorithm instead of <container>.swap() for efficiency
Use std::swap algorithm instead of <container>.swap() for efficiency

Closes-bug: APPLINK-14239, APPLINK-14304, APPLINK-14305, APPLINK-14242,
            APPLINK-13852, APPLINK-13521

smartdevice475/sdl_core,AByzhynar/sdl_core,LuxoftAKutsan/sdl_core,JackLivio/sdl_core,APCVSRepo/sdl_core,pkeb/sdl_core,smartdevice475/sdl_core,AByzhynar/sdl_core,JackLivio/sdl_core,pkeb/sdl_core,BrandonHe/sdl_core,AByzhynar/sdl_core,pkeb/sdl_core,smartdevicelink/sdl_core,JackLivio/sdl_core,smartdevicelink/sdl_core,smartdevice475/sdl_core,smartdevicelink/sdl_core,APCVSRepo/sdl_core,smartdevice475/sdl_core,smartdevicelink/sdl_core,AByzhynar/sdl_core,BrandonHe/sdl_core,AByzhynar/sdl_core,LuxoftAKutsan/sdl_core,BrandonHe/sdl_core,JackLivio/sdl_core,APCVSRepo/sdl_core,LuxoftAKutsan/sdl_core,LuxoftAKutsan/sdl_core,pkeb/sdl_core,pkeb/sdl_core,pkeb/sdl_core,LuxoftAKutsan/sdl_core,JackLivio/sdl_core,JackLivio/sdl_core,smartdevice475/sdl_core,BrandonHe/sdl_core,LuxoftAKutsan/sdl_core,BrandonHe/sdl_core,APCVSRepo/sdl_core,APCVSRepo/sdl_core,AByzhynar/sdl_core,BrandonHe/sdl_core,smartdevice475/sdl_core