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: ['9857', 'G', 'H', '1209', '835', 'O', 'P', 'D', 'F', '7977', 'b', '3487', 'N', 'Z', 'B', 'n', 'D', '5737', '6391', '9995', '9541', 'p', '3317', '3503', '7447', '6135', '8581', 'X', '567', 'r']

A: G, H, O, P, D, F, b, N, Z, B, n, D, p, X, r, 9857, 1209, 835, 7977, 3487, 5737, 6391, 9995, 9541, 3317, 3503, 7447, 6135, 8581, 567
****
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: ['8143', 'Z', '6905', 'U', '8603', 'f', '2759', 'm', 'W', '2327', 'E', 'V', '5075', '1571', 'x', '5005', 'I', 'A', 'i', 's', 'C', '4933', 'Y', 'G', '1337', 'n', '6909', '5635', '2651', '3997']

A:
Z, U, f, m, W, E, V, x, I, A, i, s, C, Y, G, n, 8143, 6905, 8603, 2759, 2327, 5075, 1571, 5005, 4933, 1337, 6909, 5635, 2651, 3997
****