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: ['u', 'M', 'l', 'F', '5951', '4811', '2237', '9935', 'e', 'w', '5215', 'o', 'b', '9323', 'u', '9215', 'g', '7527', '6297', 'p', '593', '4813', 'Z', '3411', 'k', '5917', '7927', 'y', '1933', 'S', '7151']

A: u, M, l, F, e, w, o, b, u, g, p, Z, k, y, S, 5951, 4811, 2237, 9935, 5215, 9323, 9215, 7527, 6297, 593, 4813, 3411, 5917, 7927, 1933, 7151
****
Q: ['9731', 'W', '5347', '8895', 'Y', 'H', 'X', '207', 'a', '9737', 'q', 'q', '1717', 'Y', '2329', '427', '5513', '905', 'r', 'H', 'S', '5043', 'c', 'E', '7305', 'r', '2043', 'w']

A: W, Y, H, X, a, q, q, Y, r, H, S, c, E, r, w, 9731, 5347, 8895, 207, 9737, 1717, 2329, 427, 5513, 905, 5043, 7305, 2043
****
Q: ['z', 'J', 'E', '1823', '4421', 'A', '7191', 'C', '8403', '1359', 'h', 'O', 'a', 'p', '6181', 'p']

A:
z, J, E, A, C, h, O, a, p, p, 1823, 4421, 7191, 8403, 1359, 6181
****