Fighter numbers are a method of identifying and sorting characters in Super Smash Bros. Ultimate.
As explained by Masahiro Sakurai, the numbers order characters based on "the order in which they joined the series". They are ordered in the following way:
The fighter numbers are used to order characters on Ultimate's character selection screen and promotional material. The Mii Fighters are the only fighters whose placement on the selection screen does not correspond with their numbers, as they are instead shown as the last characters on the selection screen, likely due to their customizable nature. The only major in-game usage of the fighter numbers is that Echo Fighters, due to not having their own fighter number, can be optionally stacked onto the character they are based on in the character selection screens for Vs. Mode, Special Smash (except for Smashdown), Tourney, and Online modes (except for Quickplay).
A similar system is used for ordering stages on Ultimate's selection screen, where all stages are ordered by when they first appeared in the series (with the exception of stages which debuted in and are shared between both versions of Super Smash Bros. 4, which are mixed in with stages that debuted exclusively in Super Smash Bros. for Wii U).