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: ['x', 'v', 'H', 'M', '1989', 's', 'n', 'g', '877', 'u', 'A', 'y', 'W', '2071', '1865', '7385', 'a', '7009', 'n', 'E', 'r', '9967', '8657', 'o', 'T', '4899', 'p', 'V', 'O', 'l', 'J']

A: x, v, H, M, s, n, g, u, A, y, W, a, n, E, r, o, T, p, V, O, l, J, 1989, 877, 2071, 1865, 7385, 7009, 9967, 8657, 4899
****
Q: ['9965', 'X', '5861', '7349', '2503', '5299', 'G', '4777', '7533', 'F', 'H', '9485', 'e', 'A', '9875', 'w', 'U', '1963', 'o', 't', 'a', '533', 'N', '2199', 'g', 'W', 't', '2483', '8353', 'P', '1303', '4605', '4921', 'J', '9867', '1487', 'A', 'a', 'c']

A: X, G, F, H, e, A, w, U, o, t, a, N, g, W, t, P, J, A, a, c, 9965, 5861, 7349, 2503, 5299, 4777, 7533, 9485, 9875, 1963, 533, 2199, 2483, 8353, 1303, 4605, 4921, 9867, 1487
****
Q: ['s', '2305', 'w', 'C', '3089', 'v', 'W', 'r', '9305', 'G', 'O', 'E']

A:
s, w, C, v, W, r, G, O, E, 2305, 3089, 9305
****