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]: ['435', 's', '5299', 'J', '9037', '1833', '8825', 'u', '1879', '3037', 'U', 'X', 'L', 'l', 'D', '7073', 'o', '775', '7225', '7875', 'W', 'q', 'Q', '9385', 'U', '1195', '8393', 'd', 'r']
[EX A]: s, J, u, U, X, L, l, D, o, W, q, Q, U, d, r, 435, 5299, 9037, 1833, 8825, 1879, 3037, 7073, 775, 7225, 7875, 9385, 1195, 8393

[EX Q]: ['7125', '9779', '3399', '187', 'E', 'B', '657', '1379', 'K', 'O', 'C', '8357', 'J', '8645', 'V', '85', '1893', 'G', 'Q', '4757', '3173', 'Y', 'X', 'q', '7145', 'a', '6699', 'U', '3343', '6963', '3761', '8875']
[EX A]:
E, B, K, O, C, J, V, G, Q, Y, X, q, a, U, 7125, 9779, 3399, 187, 657, 1379, 8357, 8645, 85, 1893, 4757, 3173, 7145, 6699, 3343, 6963, 3761, 8875