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]: ['5115', '8571', 'v', '1681', '1523', 'X', 'L', '1295', '1543', '3873', 'O', '4525', '9563', 'y', 'Z', '1841', 'F', 'H', '1433', 'x', 'v', 'X', 'r', '785', 'y', 'M', 'v', '9625', '9009']
[EX A]: v, X, L, O, y, Z, F, H, x, v, X, r, y, M, v, 5115, 8571, 1681, 1523, 1295, 1543, 3873, 4525, 9563, 1841, 1433, 785, 9625, 9009

[EX Q]: ['B', 'H', 'm', 'S']
[EX A]: B, H, m, S

[EX Q]: ['e', 'c', 'P', '9377']
[EX A]:
e, c, P, 9377