Very relevant information for you!
In a relational database there is no implied ORDER to any table. If you want rows returmed in a specific order then you have to use an ORDER BY clause in the query.
You may get things returned in what looks like an order without an ORDER BY clause but is is pure luck, not something you can rely upon. This goes for WAMPServer (MySQL and mariaD

and XAMPP (mariabD

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.1 32bit & 64bit) Aestan Tray Menu 3.2.5.0
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>Read The Manuals Apache --
MySQL --
PHP --
phpMyAdminGet your Apache/MySQL/mariaDB/PHP ADDONs here from the
WAMPServer alternate Repo-X-X-X-
Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-