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:
['8817', 'm', '1795', 'q', '2999', 'i', 'n', '5895', '6609', '901', '4099', '5973', 'M', 'j', '5867', '6035', '9425', '3401', '2677', '8939', 'v', 'y', 'S', 'X', '1411', '5595', 'm', '1871']

Ex Output:
m, q, i, n, M, j, v, y, S, X, m, 8817, 1795, 2999, 5895, 6609, 901, 4099, 5973, 5867, 6035, 9425, 3401, 2677, 8939, 1411, 5595, 1871


Ex Input:
['m', '5581', '991', '8683', 'c', 'O', '339', '9073', 'U', 'z', 'V', '5973', '659', '9075', '8723']

Ex Output:
m, c, O, U, z, V, 5581, 991, 8683, 339, 9073, 5973, 659, 9075, 8723


Ex Input:
['5323', '8409', '8737', 'M', 'u', '2467', 't', '6923', '2289', 'J', '3729', 'B', '2771', 'F', 'e', 'T', 'r', '4785', 'T', 'c', 'X', '2575', '9203', 'L', '515', 'a', '2497', 'D', '8621', '4401', '2019', '9029', '4555', '9881']

Ex Output:

M, u, t, J, B, F, e, T, r, T, c, X, L, a, D, 5323, 8409, 8737, 2467, 6923, 2289, 3729, 2771, 4785, 2575, 9203, 515, 2497, 8621, 4401, 2019, 9029, 4555, 9881