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', 'A', '1165', 'O']

A: G, A, O, 1165
****
Q: ['M', 'G']

A: M, G
****
Q: ['A', '971', 'U', '29', '1671', 'y', '543', 'n', '3917', 'Q', 'p', 'n', 'S', '9739', '6973', 'i', '9687', '5313', 'M', 'O', '6019', 'Q', 'r', 'a', '3193', '6063']

A:
A, U, y, n, Q, p, n, S, i, M, O, Q, r, a, 971, 29, 1671, 543, 3917, 9739, 6973, 9687, 5313, 6019, 3193, 6063
****