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: ['R', 'G', 'q', 'h', 'S', '3927', 'F', '1733', 'J', '891', 'Y', 'w', '9279', '447', 'L', '3511', '4641', '2599', 'q', 'd', '6279', '8873', '2225', 'S', 'x', 'j', 'e', '9103', '9821', '9405', 'l', 'g', '623', 'b', 'd', '5225', 'U']

A: R, G, q, h, S, F, J, Y, w, L, q, d, S, x, j, e, l, g, b, d, U, 3927, 1733, 891, 9279, 447, 3511, 4641, 2599, 6279, 8873, 2225, 9103, 9821, 9405, 623, 5225
****
Q: ['8101', 'g', 'a', 'S', 'M', 'M', '9499', '4027', 'c', '6661', '783', 'O', '4471', '6575', '6045', 'i', '1561', '5103', 'l', '4653', '3']

A: g, a, S, M, M, c, O, i, l, 8101, 9499, 4027, 6661, 783, 4471, 6575, 6045, 1561, 5103, 4653, 3
****
Q: ['D', '7609', '9135', '5831', 'b', 'P', 'S', '7823', 'J', '5615', 'w', '3257', '1935', 'e', '9021', '1049', 'r', '8625', '8203', '6039', '9999', 'e', 'i', 'N', 'o', 'G', '1625', 'F', '7421', 'g', '6483']

A:
D, b, P, S, J, w, e, r, e, i, N, o, G, F, g, 7609, 9135, 5831, 7823, 5615, 3257, 1935, 9021, 1049, 8625, 8203, 6039, 9999, 1625, 7421, 6483
****