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: ['3501', 'g', 'Z', 'Q', '867', '1659', '4049', '7137', 'r', 'Q', '1759', 'W', '667', '1997', 'D', '3655', 'h', '2805', 'R', '5181']

A: g, Z, Q, r, Q, W, D, h, R, 3501, 867, 1659, 4049, 7137, 1759, 667, 1997, 3655, 2805, 5181
****
Q: ['6297', 'S', '7737', 'b', '9907', 'Q', 'Q', 'H', 'F', '7837', '9685', 'H', '1581', '3547', 'b', 'q', 'v']

A: S, b, Q, Q, H, F, H, b, q, v, 6297, 7737, 9907, 7837, 9685, 1581, 3547
****
Q: ['7141', 'y', 'F', '5957', 'C', '9435', '6025', 'a', 'l', 'M', '6189', 'J', 'g', 'U', '8391', 'P', '1043', '7119', '127']

A:
y, F, C, a, l, M, J, g, U, P, 7141, 5957, 9435, 6025, 6189, 8391, 1043, 7119, 127
****