instruction:
In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to collate all the alphabetical elements at the start of the list followed by all the numerical elements of the list. Maintain the order in which the alphabetical elements appear in the given input list, and do the same for the numerical elements.
question:
['m', 'D', 'z', 'I', 'H', 'a', 'U', '8661', '8367', 'B', '1349', 'z']
answer:
m, D, z, I, H, a, U, B, z, 8661, 8367, 1349


question:
['5215', 't', '5517', 'K', 'y', 'v']
answer:
t, K, y, v, 5215, 5517


question:
['M', 'a', 'd', '5123', 'M', 'n', 't', 's', '6075', '6331', 'T', 'o', '9383', 'S', 'r', 'R', '1461', '9633', '7261', 'U', 'S']
answer:

M, a, d, M, n, t, s, T, o, S, r, R, U, S, 5123, 6075, 6331, 9383, 1461, 9633, 7261