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: ['597', '6047', 'c', 'B', 'Z', '9349', '561', '8815', '4407', 't', '4855', '7361', '5215', 'q', '9735', 'A', 'n', '4895', '7731', '4227', '9977', 'J', 'p', '6473', 'd', '9137', 'L', '745', 'C', 'T']

A: c, B, Z, t, q, A, n, J, p, d, L, C, T, 597, 6047, 9349, 561, 8815, 4407, 4855, 7361, 5215, 9735, 4895, 7731, 4227, 9977, 6473, 9137, 745
****
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: ['8329', 'o', 'm', 'S', '9723', 'I', 'l', '6133', 'E', 'v', '1801', '6575', '241', 'K', '9383', 'h', '5611', 'E']

A:
o, m, S, I, l, E, v, K, h, E, 8329, 9723, 6133, 1801, 6575, 241, 9383, 5611
****