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: ['g', 'b', 'z']

A: g, b, z
****
Q: ['9857', 'G', 'H', '1209', '835', 'O', 'P', 'D', 'F', '7977', 'b', '3487', 'N', 'Z', 'B', 'n', 'D', '5737', '6391', '9995', '9541', 'p', '3317', '3503', '7447', '6135', '8581', 'X', '567', 'r']

A: G, H, O, P, D, F, b, N, Z, B, n, D, p, X, r, 9857, 1209, 835, 7977, 3487, 5737, 6391, 9995, 9541, 3317, 3503, 7447, 6135, 8581, 567
****
Q: ['7401', '317', '8867', 'M', 'x', 'w', '9027', '8773', '9707', '345', '4753', 'W', 'P', 'K', 'H']

A:
M, x, w, W, P, K, H, 7401, 317, 8867, 9027, 8773, 9707, 345, 4753
****