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: ['z', '4877', 'j']

A: z, j, 4877
****
Q: ['151', '6143', 'W', 'I', '435', 'b', '2677', 'v', 'x', '5309', '3449', '8025', 'j', 'A', '8625', '7941', 'N', '5947', 'J']

A: W, I, b, v, x, j, A, N, J, 151, 6143, 435, 2677, 5309, 3449, 8025, 8625, 7941, 5947
****
Q: ['7063', '6493', 'p', 'd', '5227', '6679', 'c', 'B', '8343', 'j', '1943', 'X', '4699', 'k', '1389', 'O', '3483', '4987', '4621', 'P', '2845', 'E', 'c', 'f', 'n', 'l', '2963', 'T', 'j', '7691', '3003']

A:
p, d, c, B, j, X, k, O, P, E, c, f, n, l, T, j, 7063, 6493, 5227, 6679, 8343, 1943, 4699, 1389, 3483, 4987, 4621, 2845, 2963, 7691, 3003
****