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.

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

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


Input: Consider Input: ['Y', '2767', '5551', '4995', '1047', '9821', 'D', 'L', 'k', '7101', '8525', 'H', '9959', '3657', 't', 'f', '2333', 'D']

Output: Y, D, L, k, H, t, f, D, 2767, 5551, 4995, 1047, 9821, 7101, 8525, 9959, 3657, 2333


Input: Consider Input: ['8667', 'r', 'Q', '3031', '9865', '5991', '9947', '9357', 'O', 'T', '6315', 'n', 'e', '467', '5461', '2971', 'a', '5043', 'V', '7441', '3213', 'W', 'D', 'G', 'e', 'N', '8851', '4533', '6801', 'g', '1327', '5315', '1443', 'o', 'l', 'm']


Output: r, Q, O, T, n, e, a, V, W, D, G, e, N, g, o, l, m, 8667, 3031, 9865, 5991, 9947, 9357, 6315, 467, 5461, 2971, 5043, 7441, 3213, 8851, 4533, 6801, 1327, 5315, 1443