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: ['v', '4855', 'U', '1143', '299', '7257', 'U', '7749', 'G', 'Y', 'f', 't', '8953', '9719', 'T', 'M', 'w', 'S', '5935', '9303', '4971', '887', 'p', '4953', '5109', 't', '7827', '7537', '1299']

A: v, U, U, G, Y, f, t, T, M, w, S, p, t, 4855, 1143, 299, 7257, 7749, 8953, 9719, 5935, 9303, 4971, 887, 4953, 5109, 7827, 7537, 1299
****
Q: ['5059', 'C', '7271', '1145', 'G', 'k', 'H', '1531', '6343', 'u', '2799', 'E', 'o', '253', '223', '8043', '2257', '1065', '5991', 'W']

A: C, G, k, H, u, E, o, W, 5059, 7271, 1145, 1531, 6343, 2799, 253, 223, 8043, 2257, 1065, 5991
****
Q: ['X', 'C', '4637', 'V', '6957', 'h', 'w', 'n', 'R', '9', '2229', '6719', '2559', 'D', '4931', '7361', '5063', 'E', '6705', '5953', '7439', '3287', '3035', '6703', '8957', '6741', '6855', '7805', '5433', 'G', 'B', '5971', 'g', 'g', '8791', '9035', '2571']

A:
X, C, V, h, w, n, R, D, E, G, B, g, g, 4637, 6957, 9, 2229, 6719, 2559, 4931, 7361, 5063, 6705, 5953, 7439, 3287, 3035, 6703, 8957, 6741, 6855, 7805, 5433, 5971, 8791, 9035, 2571
****