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:
['3217', '5145', 'Z', 'a', 'x', 'm', 'f', 'p']

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


Ex Input:
['t', 't', '2017', '8431', 'T', '7271', '4561', '4679', 'n', '4909', '1059', '7397', '3957', '8825', '1553', 'I', '941', '6749', '9865', '5947', 'q']

Ex Output:
t, t, T, n, I, q, 2017, 8431, 7271, 4561, 4679, 4909, 1059, 7397, 3957, 8825, 1553, 941, 6749, 9865, 5947


Ex Input:
['9527', 'C', 'R', '807', 'g', 'n', 'K', 'P', '9089', '1577', 's', '2497', '2811', '9611', '4483', '2943', 'O', 'r', 'p', 'w', 'f']

Ex Output:

C, R, g, n, K, P, s, O, r, p, w, f, 9527, 807, 9089, 1577, 2497, 2811, 9611, 4483, 2943