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: ['169', '2703', 'M', 'g', 'M', 'l', '5883', 'v', 'T', 'n', '7003', 'n', '3073', 'B', 'S', 'P', 'G', 'K', 'l', '4799', 'm']

A: M, g, M, l, v, T, n, n, B, S, P, G, K, l, m, 169, 2703, 5883, 7003, 3073, 4799
****
Q: ['2775', 'u', 'E', 'U', '1205', 'p', '9771', '1329', 'E', '3493', 'G', 'z', '317', '51', '6395', '9727', 'Y', '2907', '3611', '3853', 'v', '8317', '9225', 'K', 'Z', 'j', 'y', 'T', 'h', 's', 'X', '9725', 'u', '1607', 'T']

A: u, E, U, p, E, G, z, Y, v, K, Z, j, y, T, h, s, X, u, T, 2775, 1205, 9771, 1329, 3493, 317, 51, 6395, 9727, 2907, 3611, 3853, 8317, 9225, 9725, 1607
****
Q: ['B', 'n', 'x', '2287', '3197', '1191', '8853', 'A', 'C', 'j', '7677', '7821', 'G', 'L', '6041', 'a', 'F', '489', 'G', '883', '8573', '13', '4859', '7829', 'Q', 'E', 'r', '7665', '8947', 'o', '4103', '1345', '8967', 'D', 'A']

A:
B, n, x, A, C, j, G, L, a, F, G, Q, E, r, o, D, A, 2287, 3197, 1191, 8853, 7677, 7821, 6041, 489, 883, 8573, 13, 4859, 7829, 7665, 8947, 4103, 1345, 8967
****