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:
['6005', '5761', '8525', 'm', 'H', 'U', 'I', 'C', '9565', 'M', 'H', 'l', '3179', 'i', 'Y', 'b', '9581', 'K', '6777', '3653']

Ex Output:
m, H, U, I, C, M, H, l, i, Y, b, K, 6005, 5761, 8525, 9565, 3179, 9581, 6777, 3653


Ex Input:
['3217', '5145', 'Z', 'a', 'x', 'm', 'f', 'p']

Ex Output:
Z, a, x, m, f, p, 3217, 5145


Ex Input:
['Z', '8673', 'U', '2257', 'u', 'D', 'y', 'b', 'n', '197', 'o', '231', 'l', 'r']

Ex Output:

Z, U, u, D, y, b, n, o, l, r, 8673, 2257, 197, 231