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: ['e', '3865', 'E', '3945', '6479', 'X', '565', 'C', '9113', 'i', '8355', '7467', 'X', '6577', 'P', 'Q', '4039', 'N', '7993', 'x', 'u', '7455', 'w', 'P', 'q', 'h', 'p', 's', '2323', 'N', '1171', 'h', '2049', 'n', 't', 'A', '7143']

A: e, E, X, C, i, X, P, Q, N, x, u, w, P, q, h, p, s, N, h, n, t, A, 3865, 3945, 6479, 565, 9113, 8355, 7467, 6577, 4039, 7993, 7455, 2323, 1171, 2049, 7143
****
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: ['431', 'B', '7269', '5655', '763', '5171', '5087', '2335', '6567', 'X', 'J', 'Q', 'P', 'X', 'N', 'l', 'P', '7211', '4505', '2067']

A:
B, X, J, Q, P, X, N, l, P, 431, 7269, 5655, 763, 5171, 5087, 2335, 6567, 7211, 4505, 2067
****