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]: ['m', '3101', '8627', 'p', '5923', 'S', 'Z', '37', '5807', 'N', 'U', '4511', '1065', '173', 'J', '1343', 't', '2081', 'd', '6249', '527', 'z', 'i', '5497', '2309', 'N', 'g', 'U', '6609', 'L', '7373', '6897', '1361', '8413', 'b', 'k', 'Y']
[EX A]: m, p, S, Z, N, U, J, t, d, z, i, N, g, U, L, b, k, Y, 3101, 8627, 5923, 37, 5807, 4511, 1065, 173, 1343, 2081, 6249, 527, 5497, 2309, 6609, 7373, 6897, 1361, 8413

[EX Q]: ['M', 'b', '7761', '7275', 'N', '6691', '2937', 'a', '733', '9507', 'i', '7205', 'n', '5587', 'c', 'q', '8861', '5551', 'K', 'O', '1687', '3899', 't', 'C']
[EX A]: M, b, N, a, i, n, c, q, K, O, t, C, 7761, 7275, 6691, 2937, 733, 9507, 7205, 5587, 8861, 5551, 1687, 3899

[EX Q]: ['8731', 'Q', 'y', '4987', '4821', '4293', '5565', 'Z', '6087', 'D', 'P', '85', 'l', '3413', 'V', 'B', 'H', '4645', 'A', 'A', '1619', '9295', 'w', 'e', '8153', 'u', '8305', 'K', 'H', 'q', '8239', 'k', 'x', '2883']
[EX A]:
Q, y, Z, D, P, l, V, B, H, A, A, w, e, u, K, H, q, k, x, 8731, 4987, 4821, 4293, 5565, 6087, 85, 3413, 4645, 1619, 9295, 8153, 8305, 8239, 2883