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: ['327', '9245', 'D', 'U', 'C', 'D', '3149', 'J', '7545', 'x', 'O', 'i', '3189', '6727', '7141', '3135', '1903', 'I', '5179', 'o']

A: D, U, C, D, J, x, O, i, I, o, 327, 9245, 3149, 7545, 3189, 6727, 7141, 3135, 1903, 5179
****
Q: ['5059', 'C', '7271', '1145', 'G', 'k', 'H', '1531', '6343', 'u', '2799', 'E', 'o', '253', '223', '8043', '2257', '1065', '5991', 'W']

A: C, G, k, H, u, E, o, W, 5059, 7271, 1145, 1531, 6343, 2799, 253, 223, 8043, 2257, 1065, 5991
****
Q: ['r', '9623', 'w', '2927', '2693', 'O', 't', '3099', '7693']

A:
r, w, O, t, 9623, 2927, 2693, 3099, 7693
****