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]: ['G', 'j', '4971', '6923', '961', 'a', 'U', '3943', '6291', 'f', 'w', 'U', '5505', 'Y', '2691', 'u', 'U', '37', 'b', 'i', 'a', 'j', 'w', '5023', '7501', 'q', '8535', 'J', 'q', 'd', '8981', 'X']
[EX A]: G, j, a, U, f, w, U, Y, u, U, b, i, a, j, w, q, J, q, d, X, 4971, 6923, 961, 3943, 6291, 5505, 2691, 37, 5023, 7501, 8535, 8981

[EX Q]: ['5111', '3581', 'U', 'H', 'i']
[EX A]: U, H, i, 5111, 3581

[EX Q]: ['1931', 'y', '5807', '8637', '7995', 'z', 'B', '2353', '6233', '4657', '5319', 'B', 'w', '3913', '8437', '3393', '2437', 'P', 'A', 'E', '717', '4839', '8545', 'm', 'w', 'j', 'r', 's', 'x', '2017', 'D', '1181', 'i']
[EX A]:
y, z, B, B, w, P, A, E, m, w, j, r, s, x, D, i, 1931, 5807, 8637, 7995, 2353, 6233, 4657, 5319, 3913, 8437, 3393, 2437, 717, 4839, 8545, 2017, 1181