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:
['3501', 'g', 'Z', 'Q', '867', '1659', '4049', '7137', 'r', 'Q', '1759', 'W', '667', '1997', 'D', '3655', 'h', '2805', 'R', '5181']

Ex Output:
g, Z, Q, r, Q, W, D, h, R, 3501, 867, 1659, 4049, 7137, 1759, 667, 1997, 3655, 2805, 5181


Ex Input:
['n', '5465', '5621', '9305', 'p']

Ex Output:
n, p, 5465, 5621, 9305


Ex Input:
['215', '7807', 'B', 'e', '7335', 'j', '1871', 'w', 'C', 'z', 'X', '621', 'v', 'p', '6163', '4713', '3501', 'i', '6175']

Ex Output:

B, e, j, w, C, z, X, v, p, i, 215, 7807, 7335, 1871, 621, 6163, 4713, 3501, 6175