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.

Q: ['8983', '3387', 'A', '7837', '5923', 'f', 'G', '2929', '4447', '8045', 'h', '1391', '8899', 'P', 'K', '2027', '1473', '3891', '1059', 'o', 'f', 'k', '6831', 'o', 'M']

A: A, f, G, h, P, K, o, f, k, o, M, 8983, 3387, 7837, 5923, 2929, 4447, 8045, 1391, 8899, 2027, 1473, 3891, 1059, 6831
****
Q: ['k', 'Z']

A: k, Z
****
Q: ['o', 'y', '6821', 'Q', '1741', 'b', 'x', '5235', '3891', 'g', 'e', '2729', '35', '4459', 'X', 'y', '2853', 'W', 'A', 'g', 'T', 'U', 'N', '2325', '4141', '3771', 'd', 'r', '3459', 'D', '4223', 'n', '3085', 'O', 'h', 'K', '1755', 'C', 'p', '5979']

A:
o, y, Q, b, x, g, e, X, y, W, A, g, T, U, N, d, r, D, n, O, h, K, C, p, 6821, 1741, 5235, 3891, 2729, 35, 4459, 2853, 2325, 4141, 3771, 3459, 4223, 3085, 1755, 5979
****