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: ['9741', 'H', 'a', '2521', '3641', 'O', '3167', '5507', '9535', 'R']

A: H, a, O, R, 9741, 2521, 3641, 3167, 5507, 9535
****
Q: ['F', 'r', 's', '2319', 'I', 'G', '4719', '2015', '6791', '6777', '855', '1051', '5329', 'G', '6495', '9763', '9931', '4357', 'x', '6129', 'T', 'r', '9377', '1343', 'p', 'W', 'Y']

A:
F, r, s, I, G, G, x, T, r, p, W, Y, 2319, 4719, 2015, 6791, 6777, 855, 1051, 5329, 6495, 9763, 9931, 4357, 6129, 9377, 1343
****