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: ['P', 'Q', 'G', '3885', 'f', 'n', 'y', 'H', 'c', 'g', 'X', 'J', '2587', '93', 'P', 'k', 'x', '1777', 'L', '837', '8557', 'x', '1031', '1023', '5725', '5547', '2737', 'L']

A: P, Q, G, f, n, y, H, c, g, X, J, P, k, x, L, x, L, 3885, 2587, 93, 1777, 837, 8557, 1031, 1023, 5725, 5547, 2737
****
Q: ['a', '381', '4171', 'p', 'u', 'c', 'q', '3225', 'L', '5659', '7671', 'H', '4341', '2255', '7055', '4853', 'f', 'J', 'h', '3501', '7511', 'f']

A: a, p, u, c, q, L, H, f, J, h, f, 381, 4171, 3225, 5659, 7671, 4341, 2255, 7055, 4853, 3501, 7511
****
Q: ['e', 'C', '8791', '4481', '1215']

A:
e, C, 8791, 4481, 1215
****