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.

Ex Input:
['f', 'x', '4821', 'u', '8525', 'T', 'm', '5453', '2533', '9243', '4645', '6895', 'h', 'w', 'p', 's', 'E', '2107', '7711', 'z', '2817', 'g']

Ex Output:
f, x, u, T, m, h, w, p, s, E, z, g, 4821, 8525, 5453, 2533, 9243, 4645, 6895, 2107, 7711, 2817


Ex Input:
['4959', 'M', '5969', '5543', 'N', 'U', 'h', 'X', '7923', '4573', '983', 'f', 'X', 'e', '1503', 'g', '1927', '721']

Ex Output:
M, N, U, h, X, f, X, e, g, 4959, 5969, 5543, 7923, 4573, 983, 1503, 1927, 721


Ex Input:
['5659', '2341', 'N', 'h', '343', '8887', 'S', 'X', 'g', 'e', 'V', 'A', '2271', '6929', '7867', 'l', '1845', '1899', '2151', '8711', '2269', '2627', '6621', '1893', '3905', 'K', 'c', '6555', '7659', '2993']

Ex Output:

N, h, S, X, g, e, V, A, l, K, c, 5659, 2341, 343, 8887, 2271, 6929, 7867, 1845, 1899, 2151, 8711, 2269, 2627, 6621, 1893, 3905, 6555, 7659, 2993