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]: ['r', 'g', '5847', '329', '6267']
[EX A]: r, g, 5847, 329, 6267

[EX Q]: ['3217', '5145', 'Z', 'a', 'x', 'm', 'f', 'p']
[EX A]: Z, a, x, m, f, p, 3217, 5145

[EX Q]: ['5637', 'N', 'u', 'Y', '4429', '4839', '1113', '3161', 'y', 'd', 'k', '9505', 'H', '6515', '8825', '9531', 'X', '5385']
[EX A]:
N, u, Y, y, d, k, H, X, 5637, 4429, 4839, 1113, 3161, 9505, 6515, 8825, 9531, 5385