Piano With Black And White Keys Reversed

Why were the white keys and black keys on the piano reversed.
Piano with black and white keys reversed. On modern piano keyboards the seven natural notes of each octave are the white keys and the five half tones are black keys in between. The white keys were black and the black keys were white. Resulting in the width of black keys averaging 13 7 mm 0 54 in and white keys about 23 5 mm 0 93 in wide at the base disregarding space between keys. They had the little bit of ivory on them.
As a pianist most of us know the basics of how the piano works we understand the pedaling notation and how the different patterns like the 2 black keys and the 3 black keys work for finding the white keys. Why do pianos have black and white keys. However this is rare. Several reduced size standards have been proposed and marketed.
Modern piano keyboards ordinarily have an octave span of 164 165 mm 6 5 6 5 in. Flats b a black key is called a flat when it is to the left of a key. As well as how many black and white keys on a piano people are wondering about the color of the keys and what this stems from. A black key in a piano keyboard is called a sharp when it is the right of the key.
And the white keys the sharps i should say were actually white keys. In the given example since the first black key is in between c and d white keys that black key will be called the c because it is to the right of the c key. Actually some keyboards and synths have taken a different design black keys and white keys may be reversed for instance. Anyone who is familiar with historical keyboards is aware that at one point the black and white keys were reversed from what we have today.
But on pianos dating from the 18th century when mozart was alive the colors of the keys was exactly reversed.