You can run into a buffer overflow when the user types in more than 15 characters. You should use
scanf("%15s", &plate);- Note thatscanfwill automatically add the null terminator (hence15instead of16).While it is accepted to use single letter variablevariables for looploops you have abused this extensively in your sorting routine.
What is
a, what islength, what isstring_size? Just from reading the method (without readingmain) it's very hard to figure out what the individual parameters are supposed to mean.Why is
lengthconstbutstring_sizeisn't?Why are you copying the parameters and
ALPHABET1ALPHABETinto local variables which have short meaningless names?
All in all the code is fairly clean, but you should de-obfuscate it a bit.