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: ['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']

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
****
Q: ['8281', '1593', '7933', '1445', 'T', '8597', '231', '3891', 'V', 'i', 'm', 't', 'v', '2645', 'X', 'B', 'x']

A:
T, V, i, m, t, v, X, B, x, 8281, 1593, 7933, 1445, 8597, 231, 3891, 2645
****