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]: ['597', '6047', 'c', 'B', 'Z', '9349', '561', '8815', '4407', 't', '4855', '7361', '5215', 'q', '9735', 'A', 'n', '4895', '7731', '4227', '9977', 'J', 'p', '6473', 'd', '9137', 'L', '745', 'C', 'T']
[EX A]: c, B, Z, t, q, A, n, J, p, d, L, C, T, 597, 6047, 9349, 561, 8815, 4407, 4855, 7361, 5215, 9735, 4895, 7731, 4227, 9977, 6473, 9137, 745

[EX Q]: ['5029', '4287', 't', 'n', 's', 'x', 'F', 'p', 'K', 'P', '7437', '1931', '3759', 'y', '9853', '3593', '6491', '3537', 'V', 'd', '1589', 'n', 'c', '3741', 'I', '5807', 'V', '4117', '5531', 'd', '6599', 'j', 'E', 'S', '3135', 'd', '3025']
[EX A]:
t, n, s, x, F, p, K, P, y, V, d, n, c, I, V, d, j, E, S, d, 5029, 4287, 7437, 1931, 3759, 9853, 3593, 6491, 3537, 1589, 3741, 5807, 4117, 5531, 6599, 3135, 3025