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]: ['8987', 'M', 'u', 'd', '6277', '4233', 'y', 'D', 'd', '3387', 'n', '9509', '987', 'S', 'c', '6843', '587', '3545', 'Q', 'B', '779', '9547', 'c', 'r']
[EX A]: M, u, d, y, D, d, n, S, c, Q, B, c, r, 8987, 6277, 4233, 3387, 9509, 987, 6843, 587, 3545, 779, 9547

[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]: ['773', 'z', 'B', 'x', '4047', 'Z', '5927', 'N', '7091', 'U', 'V', 'b', 'L', 'J', 'Q', '4215', '9033', 'L', 'H', '2947', '3679', '1631', 'a', '7951', '6071']
[EX A]:
z, B, x, Z, N, U, V, b, L, J, Q, L, H, a, 773, 4047, 5927, 7091, 4215, 9033, 2947, 3679, 1631, 7951, 6071