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: ['D', '8577', '7971', 'x', 'm', '8323', 'T', '5257', '3341', '3963', '7895', '1465', '1987', '9909', 'o', '245']

A: D, x, m, T, o, 8577, 7971, 8323, 5257, 3341, 3963, 7895, 1465, 1987, 9909, 245
****
Q: ['9829', '5959', '1309', 'p', 'e', '4643', '5113', 'Z', '8103', 'f', 'p', 'B', 'D', '5305', 'U', '1867', 'r', 'K', '5249', 'w', 'Z', 'y', 'O', 'b', 'F', '9713', 'F', 'Z', 'l', '4163', '7839', '9779', '4343', 'A']

A: p, e, Z, f, p, B, D, U, r, K, w, Z, y, O, b, F, F, Z, l, A, 9829, 5959, 1309, 4643, 5113, 8103, 5305, 1867, 5249, 9713, 4163, 7839, 9779, 4343
****
Q: ['H', 'e', 'M', 'n', '8091', 'n', 'N', '3369', 'D', 'X', '1175', '5357', 'm', 'o', 'J', '1803', '745', '9999', 'd', '8157', '9771', '9325', 'f', 'u', 'h', '357', 'A']

A:
H, e, M, n, n, N, D, X, m, o, J, d, f, u, h, A, 8091, 3369, 1175, 5357, 1803, 745, 9999, 8157, 9771, 9325, 357
****