auto it = std::find_if( sortList.begin(), sortList.end(), [&User](const std::pair<std::string, int>& element){ return element.first == User.name;} );