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: ['2277', '9811', '6401', 'V', 'J', 'D', 'z', '3051', '9331', 'u', '5825', 'p', 'P', '4645', 'n', 'T', 'q', 'P', 's', 'V', 'Q', 'H', '3901', 'Y', '271', 'W', '3279', '6065', '1511', '1261', 'E', '5765', '6423', 'l', 'e']

A: V, J, D, z, u, p, P, n, T, q, P, s, V, Q, H, Y, W, E, l, e, 2277, 9811, 6401, 3051, 9331, 5825, 4645, 3901, 271, 3279, 6065, 1511, 1261, 5765, 6423
****
Q: ['g', 'g', '9271', 'D', '9667', 'x', '117', 'E', '4013', 'D', 'M', 'Y', '3887', '5931', '273', '5333', 'Q', '1303', '4517']

A: g, g, D, x, E, D, M, Y, Q, 9271, 9667, 117, 4013, 3887, 5931, 273, 5333, 1303, 4517
****
Q: ['w', 'V', '7367', 'W', '399', '8465', 'u', '6773', '1045', '1921', '2431', '3717', '5643', 'N', 'o']

A:
w, V, W, u, N, o, 7367, 399, 8465, 6773, 1045, 1921, 2431, 3717, 5643
****