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: ['F', 'M', '7785', 'K', 'o', 'k', 'E', '6399', 'R', '7269', 'a', 'b', 'K', '9663', 'g', 'l', 'Z', 'i', '5817', '8933', '8171', 'l', '715', '703', 'a', '3603', 'N', '7361', 'a', '6225', 'O', 'B', '1295', '8469']

A: F, M, K, o, k, E, R, a, b, K, g, l, Z, i, l, a, N, a, O, B, 7785, 6399, 7269, 9663, 5817, 8933, 8171, 715, 703, 3603, 7361, 6225, 1295, 8469
****
Q: ['9867', '9515', 'z', 'J']

A:
z, J, 9867, 9515
****