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]: ['p', 'h', '8605', 'd', '5185', 'B', 'C', '1331', 'r', '2355', '1035', '3547', '7761', '8951', 'T', '1981', 'v', 'a', 'w', 'H', 'e', '5075', 'h', 'o', '3765', '7729', 'Q', '9289', 'i', 'k', 'E', 'k', 'i', 'd', '4879', '821']
[EX A]: p, h, d, B, C, r, T, v, a, w, H, e, h, o, Q, i, k, E, k, i, d, 8605, 5185, 1331, 2355, 1035, 3547, 7761, 8951, 1981, 5075, 3765, 7729, 9289, 4879, 821

[EX Q]: ['4129', '9577', 'Z', '4577', '7351', 't', 'C', '7761', '6173', '6451', 'Z', '1907', '2745', 'U', '3093', '5825', 'd', 'z', 'd', '7067', '2789', 'T', '2547', '2133', 'p', '663', '4209', 't', 'k']
[EX A]: Z, t, C, Z, U, d, z, d, T, p, t, k, 4129, 9577, 4577, 7351, 7761, 6173, 6451, 1907, 2745, 3093, 5825, 7067, 2789, 2547, 2133, 663, 4209

[EX Q]: ['q', '4507', '163', '2015', 'G', '1657', 'o', '5851', '3247', 'J', 'o', 'F', 'l', 'G', 't', '5087', '4841', '8725', '9095', 'd']
[EX A]:
q, G, o, J, o, F, l, G, t, d, 4507, 163, 2015, 1657, 5851, 3247, 5087, 4841, 8725, 9095