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]: ['Z', '6995', 'e', '9773', 'w', '7265', '647', 'q', '2321', 's', 'W', 'M', 'b']
[EX A]: Z, e, w, q, s, W, M, b, 6995, 9773, 7265, 647, 2321

[EX Q]: ['6345', '4885', 'O', 'D', '7291', 'q', 'd', '5075', '1339', 'a', '1239', '9175', 'b', '3989', '9855', 'g', '6167', '6725', 'H', 'u', '5705', 'g', 'C', 'Z', 'Z', 'o', '6733', '3001', 'K']
[EX A]:
O, D, q, d, a, b, g, H, u, g, C, Z, Z, o, K, 6345, 4885, 7291, 5075, 1339, 1239, 9175, 3989, 9855, 6167, 6725, 5705, 6733, 3001