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', 'g', '9271', 'D', '9667', 'x', '117', 'E', '4013', 'D', 'M', 'Y', '3887', '5931', '273', '5333', 'Q', '1303', '4517']

A: g, g, D, x, E, D, M, Y, Q, 9271, 9667, 117, 4013, 3887, 5931, 273, 5333, 1303, 4517
****
Q: ['8933', '1973', 'f', '4343', '1187', '1641', '1883', '7405', '4191', '8127', '2469']

A: f, 8933, 1973, 4343, 1187, 1641, 1883, 7405, 4191, 8127, 2469
****
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
****