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.

[EX Q]: ['3501', 'g', 'Z', 'Q', '867', '1659', '4049', '7137', 'r', 'Q', '1759', 'W', '667', '1997', 'D', '3655', 'h', '2805', 'R', '5181']
[EX A]: g, Z, Q, r, Q, W, D, h, R, 3501, 867, 1659, 4049, 7137, 1759, 667, 1997, 3655, 2805, 5181

[EX Q]: ['7171', 'N', '463', 'w', 'd', 'T', '7361', 'C', 'n', 'Y', 'x', '5805', 'K', '9973', 'X', '6789', '2683', 'p', 'X', 's', '3335', 'N', 'c', '4319', '6047', 'r', '4847', '3493', '2195', 'e', 'G', 'G', 'k', 'w', '4969', 'g']
[EX A]: N, w, d, T, C, n, Y, x, K, X, p, X, s, N, c, r, e, G, G, k, w, g, 7171, 463, 7361, 5805, 9973, 6789, 2683, 3335, 4319, 6047, 4847, 3493, 2195, 4969

[EX Q]: ['791', 'c', '1401', 'e', 'A', '2421', 'p', 'S', '8747', 'F', '521', 'E', 'H', 'R', 'I', 'Q', '8063', '8149', 'g', '6419', 'O', '4907', '4129', '5217', 'K', 'w', 'N']
[EX A]:
c, e, A, p, S, F, E, H, R, I, Q, g, O, K, w, N, 791, 1401, 2421, 8747, 521, 8063, 8149, 6419, 4907, 4129, 5217