Yes, it did! It might have been the 19th century, but the market was full of music publications and one way to distinguish one sonata from the 100 other sonatas written at the time was to put some kind of distinguishing name to it.
"Sonata in G major" by XYZ sounds exactly the same as "Sonata in G major" by ZZTOP. But if you put "Grand Sonate", that distinguishes it enough from the crowd.
That's one reason why so many pieces, especially good ones, had nicknames provided by the publisher, not the composer.