May only be answered with programming language that has function syntax (or procedure, method, lambda, macro, statement grouping and labelling) .
Create a function with at least 2 argument/parameter, that generates an array containing 7 random strings, each string contains 3 characters, string may only contain alphanumeric characters
[a-zA-Z0-9]. The number 7 and 3 passed into the function
Create a function that sort those strings using in special alphabetical ascending order: number first, alphabet later (lower-case then upper-case), for example:
1aa 2ac aab abc Aab bAA BZ2
Create a function to print each string in descending order from the last one to the first one without mutating the ascending ordered array.
Call all three function and produce the correct output
Shortest code wins!
Note: if possible, give the ideone or any other online compiler link to test the correctness.