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]: ['8017', 'l', '5589', 'q', 'u', 'x', '9165', 'T', 'O', 'H', 'Y', '8265', '5893', '3977', 'w', '9953', 'e', '4913', 'Q', 'f', 'U', 'L', '2097', 'B', 'L', 'z', '151', 'S', '4955', '7769', 'N', '5601', 'w', 'i', '5761', 'c', 'H']
[EX A]: l, q, u, x, T, O, H, Y, w, e, Q, f, U, L, B, L, z, S, N, w, i, c, H, 8017, 5589, 9165, 8265, 5893, 3977, 9953, 4913, 2097, 151, 4955, 7769, 5601, 5761

[EX Q]: ['l', '5217', '8579', 'Y', '9315', 'r', 'T', 'i']
[EX A]: l, Y, r, T, i, 5217, 8579, 9315

[EX Q]: ['x', '3307', '999', 'v']
[EX A]:
x, v, 3307, 999