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: ['3217', '5145', 'Z', 'a', 'x', 'm', 'f', 'p']

A: Z, a, x, m, f, p, 3217, 5145
****
Q: ['y', '7575', '3941', 'a', '8857', '2961', 'j', '1697', '881', '1783', '9711', '2719', 'Y', 'w', '3065', 'f', 'a', 'I', '7251', 'F', 'o', '5807', '3183', '4971', 'c', '123', 'g', 'o', '7231', '6599', '4687', '563', 'p', '8679']

A: y, a, j, Y, w, f, a, I, F, o, c, g, o, p, 7575, 3941, 8857, 2961, 1697, 881, 1783, 9711, 2719, 3065, 7251, 5807, 3183, 4971, 123, 7231, 6599, 4687, 563, 8679
****
Q: ['j', 'u', 'T', 'p', '3833', '5917', 'J', '5915', 'q', 'Q', 'z', '6077', '8355', '5039', '9205', 'Q', 'i', '6505', 'C', 'Z', '6091', 'A', 'R', 'n', 'd', '5893', '6851', 'C', 'Z', 'K', 'I', 'L', '8105', 'Q', 'K', 'N', 'I']

A:
j, u, T, p, J, q, Q, z, Q, i, C, Z, A, R, n, d, C, Z, K, I, L, Q, K, N, I, 3833, 5917, 5915, 6077, 8355, 5039, 9205, 6505, 6091, 5893, 6851, 8105
****