game – How to sort scores from file( SFML, VisualStudio , C++)


So basically I’ve got a working game so far, and I’m on the game over state. I’ve written the code for displaying. Although I don’t know how I would write the code to sort the scores in numerical order
The Highscore.txt is laid out like this

    std::ifstream readFile("Highscore.txt");

    if (readFile.is_open()) 
    {
        std::string s;
        while (std::getline(readFile, s))
            scores.emplace_back(sf::Text(s, f, 30U));

        const unsigned amount = (scores.size() < 4) ? scores.size() : 4;
        constexpr float padding = 400.f;
        for (size_t i = 0; i < amount; ++i)
        {
            scores(i).setOutlineThickness(1);
            scores(i).setOutlineColor(sf::Color(0, 0, 0, 255));
            scores(i).setFillColor(sf::Color(217, 114, 15, 255));
            scores(i).setPosition(
                pGame->win.getSize().x / 2.f - scores(i).getCharacterSize() * 
                scores(i).getString().getSize() / 4.f,
                padding + i * ((pGame->win.getSize().y - 2.f * padding) / amount) - 
                scores(i).getString().getSize() / 2.f
            );
        }
    }
    readFile.close();