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: ['g', '6307', '3781']

A: g, 6307, 3781
****
Q: ['G', 'A', '1165', 'O']

A: G, A, O, 1165
****
Q: ['v', 'p', 'x', 'G', '9871', '6039', '6555', '2297', '3431', '2571', 'S', 'D', 'Q']

A:
v, p, x, G, S, D, Q, 9871, 6039, 6555, 2297, 3431, 2571
****