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: ['2887', '235', 'o', 'M', 'H', 'U', '9253', '7967', '1059', '7841']

A: o, M, H, U, 2887, 235, 9253, 7967, 1059, 7841
****
Q: ['g', 'Z', 'D', 'W', 'j', 'a', 'q', 'L', '7219', 'O', '4489', '5149', 'A', '7605', '2361', 'v', '865', 'S', 'g', 'P', 'u', 'l', 'A', 'w']

A: g, Z, D, W, j, a, q, L, O, A, v, S, g, P, u, l, A, w, 7219, 4489, 5149, 7605, 2361, 865
****
Q: ['I', '7065', 'J', '3299', 'H', 'Q', 'q', 'f', '1543', '8265', 'W', 'x', '6117', 'S', '8771', '4817', 'B', 'm', '8639', 'g', 'x', 'S', '8219', 'w', '2583', '5995', 'u', '247']

A:
I, J, H, Q, q, f, W, x, S, B, m, g, x, S, w, u, 7065, 3299, 1543, 8265, 6117, 8771, 4817, 8639, 8219, 2583, 5995, 247
****