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:
['X', '4861', '4531']

Ex Output:
X, 4861, 4531


Ex Input:
['9779', 'z', 'p', 'W', '7659', '2619', 'a', '3109', 'i', 'R', 'a', '5287', 'j', '3473', '4907', '7261', 'h', '5289', '43', 'l', 'M', 'o', 'm']

Ex Output:
z, p, W, a, i, R, a, j, h, l, M, o, m, 9779, 7659, 2619, 3109, 5287, 3473, 4907, 7261, 5289, 43


Ex Input:
['4771', '531', 'P', '5751', 'U', '2927', '8915', '2009', '1353', '5759', 'o', '5175', '4993', 'C', 'O', 'k', 'j', '9609', '4327', '5671', 'A', 't', 'A', '5997', 'H', 'p', 'U', 'o']

Ex Output:

P, U, o, C, O, k, j, A, t, A, H, p, U, o, 4771, 531, 5751, 2927, 8915, 2009, 1353, 5759, 5175, 4993, 9609, 4327, 5671, 5997