kri shan wrote:Always first letter is character, not number. not like 5X, 35A52
That's great...but still not enough detail...
Can there be two letters? three?
how many digits?
Can there be more than one set of letters and/or digits?
again...YOU need to define how to sort them. We can't tell you how to do it, because we don't know. If you can tell us, we can help you write the code. If you don't tell us, there is nothing we can do but continue to make wild guesses, which you simply say "nope, that doesn't work because", and then we repeat the process.