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: ['r', 'g', '5847', '329', '6267']

A: r, g, 5847, 329, 6267
****
Q: ['8665', 'e', '1109', 'R', 'N', 'P', 'y', 'S', '6459', '8123', 'j', 'e', 'f', '1329', 'Y', '5399', 'q', '7371', 'd', '7787', '657', '391', '9143', '3321', 'Q', '2167', '2587', '8189', 'W', 'e']

A: e, R, N, P, y, S, j, e, f, Y, q, d, Q, W, e, 8665, 1109, 6459, 8123, 1329, 5399, 7371, 7787, 657, 391, 9143, 3321, 2167, 2587, 8189
****
Q: ['b', '6717', 'y', '413', '2947', 'V', 'n', 'h', '4663', '3935', 'j', '1179', 'z', 'C', 'Q']

A:
b, y, V, n, h, j, z, C, Q, 6717, 413, 2947, 4663, 3935, 1179
****