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.

Q: ['4781', 'X', '3765', 'C']

A: X, C, 4781, 3765
****
Q: ['s', 'F', '9491', 'F', '4309', '5021', '3923', '3213', '6727', 's', '9387', '7435', 'g', '7443', '5539', 'r', '3647', '6535', 'P', '1453', 'e', '323']

A: s, F, F, s, g, r, P, e, 9491, 4309, 5021, 3923, 3213, 6727, 9387, 7435, 7443, 5539, 3647, 6535, 1453, 323
****
Q: ['Z', 'q', '9347', '8297', 'T', '6875', 'O', '6473', '7439', 'w', '6359', 'J', 'D', 'C', 'W', '7501', 'J', 'f', 'E', 'j', 'W', '1343', 'n', 'g', 'u', '7449', '3497', '1115', 'x', 'd', '9091', '8245', 'k', '8577']

A:
Z, q, T, O, w, J, D, C, W, J, f, E, j, W, n, g, u, x, d, k, 9347, 8297, 6875, 6473, 7439, 6359, 7501, 1343, 7449, 3497, 1115, 9091, 8245, 8577
****