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', '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: ['s', 'a', '9473', 'N', '3743', 'l', '7653', '389', 'f', 'O', '8261', 'j', '2695', 'x', '4225', '7583', 'U', 'S']

A: s, a, N, l, f, O, j, x, U, S, 9473, 3743, 7653, 389, 8261, 2695, 4225, 7583
****
Q: ['W', '7631', 'q', '9985', 'c', 'J', '3255', '1731', '9057', 'E', '2613', 'w', '9817', 'F', '5961', 'E', 'a', '5483']

A:
W, q, c, J, E, w, F, E, a, 7631, 9985, 3255, 1731, 9057, 2613, 9817, 5961, 5483
****