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: ['N', 'M', '3951', '6031', '2277', 'M', 'Z', '1755', 'g', '255', 'G', '3423', 'W', 'Q', '393', 'M', '5045', 'c', 'J', '9001', '8103']

A: N, M, M, Z, g, G, W, Q, M, c, J, 3951, 6031, 2277, 1755, 255, 3423, 393, 5045, 9001, 8103
****
Q: ['J', '8469', '1565', 'C', 'G', '6433', '5675', '875', 'F', '5027', '2283', '4425', 'C', 'w', '9909', '2155', '3187', '9419', '2311', '9451', 'p', '6287', '2535', 'L', 'c', '7907', 'v', 'U', 'T', 'h', '8265']

A: J, C, G, F, C, w, p, L, c, v, U, T, h, 8469, 1565, 6433, 5675, 875, 5027, 2283, 4425, 9909, 2155, 3187, 9419, 2311, 9451, 6287, 2535, 7907, 8265
****
Q: ['657', '2443', 'c', 'K', '59', '1277', 'O', '1099', '3065', 'H', '6007', '6729', '8471', 'A', 'Y', 'R', 'r', '6703', '5969', 'A', 'B', 'M', 'u', 's', 'J', '9677', '4263', 'a']

A:
c, K, O, H, A, Y, R, r, A, B, M, u, s, J, a, 657, 2443, 59, 1277, 1099, 3065, 6007, 6729, 8471, 6703, 5969, 9677, 4263
****