What the cards number
The major arcana are numbered today from 0 to 21, with the Fool as 0. In the Tarot de Marseille the trumps carry Roman numerals, and four is written "IIII," as in Jean Dodal's deck of 1715. The Fool is usually left without a number, apart from the 21 numbered cards.
That order was not always fixed. The oldest decks had neither numbers nor names on the cards, and the order of the trumps was not standardized. Decks still differ: in the Tarot de Marseille Justice is VIII and Strength is XI, and Waite swapped them in his deck of 1909.
In classic tarot the minors are numbered from ace to ten in each suit. In the Tarot de Marseille those cards carry no scenes, only the number of suit symbols, so the number is the one thing that tells them apart. Odd-numbered cards show a single fully drawn object and the tens show two, and the remaining space is usually filled with floral decoration.
Where the idea that each number means something comes from
Giving numbers symbolic value is an old Western habit. The Pythagoreans held that things are numbers or are made of numbers, and they are remembered for the tetraktys, the first four numbers (1 + 2 + 3 + 4), which add up to ten, regarded as a perfect number. Scholars today debate how much of that goes back to Pythagoras himself and how much belongs to later followers.
That is the general background. The number system many tarot readers use today is more recent and more specific. It comes from the Hermetic Order of the Golden Dawn, whose first temple was founded in London in 1888, and which tied each number to the spheres of the Kabbalah. It is the convention of one tradition, not a property of the cards.
The Golden Dawn system for the minors
In that tradition the aces are the roots of the powers of their element, and each number carries a meaning and a planet. Mary K. Greer, a tarot researcher, collects these examples from texts of the tradition: the two joins king and queen and marks a beginning; the five is opposition, being the sum of the first odd and the first even number, and goes with Mars; the six is accomplishment and goes with the Sun; the ten is a fixed, completed force, exercised only in material things, and goes with the Earth.
Each number is also tied to a sphere of the Kabbalistic Tree of Life: two to Chokmah, three to Binah, six to Tiphareth and ten to Malkuth. A reader in this tradition combines the meaning of the number, of the suit and of the sphere to interpret each card. These numbers belong to a complete system with its own logic, and outside it they lose their reference.
The other numbers have planets of their own: three to Saturn, four to Jupiter, seven to Venus, eight to Mercury and nine to the Moon.
That numerical reading is the one many books teach today. Waite, who was a member of the order, wrote in his book that he did not adopt the attribution of the majors to the Hebrew alphabet, because nearly every attribution seemed wrong to him. His deck of 1909 gives each number a scene, and the meaning comes from the scene.
What this deck does
The 22 majors keep their numbers, 0 to 21, in Marseille order. The number helps you place the card; this library gives it no numerological meaning.
The 56 minors are different. They are not aces, twos or tens. Each is an individual archetype with a name of its own, like the sowing or the limit, and none equals a numbered card of any suit.
The codes M01 to M56 are only a way to identify them and an index. They do not express an order from less to more, and a minor's number adds no meaning. The seven groups of eight, such as attention and clarity or bonds, do not work as a scale either: they are a way to find the cards.
How to use numbers without being boxed in
If you come from another deck and like thinking in numbers, you can do that with the majors: a major with a high number sits near the end of the sequence, one with a low number near the start. That is an observation about order, nothing more.
For the minors in this deck, set numbers aside. Read the name of each card and what it describes. The idea of a scale from one to ten does not apply to them.
And remember that a number does not close a card. Its meaning comes from the image, from your question and from the place it lands in the spread.