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.

['f', 'K', '1105', '6381', '2041', '5839', 'R', '6379', 'F', '6895', '333', 'f']
f, K, R, F, f, 1105, 6381, 2041, 5839, 6379, 6895, 333

['q', 'm', '3639', '1029', '6027', 'l', '9765', '165', '2131', 'j', '1403', '8975', 'K', '2587', 'l', '5613', '5657', 'L', 'o', '6831', 'L', 'Q', '3345', '1265', 'F', 'Y', 'i', '3765', '6639', 'I', 'x', '6447', '5573', '8489', 'I', '5753']
q, m, l, j, K, l, L, o, L, Q, F, Y, i, I, x, I, 3639, 1029, 6027, 9765, 165, 2131, 1403, 8975, 2587, 5613, 5657, 6831, 3345, 1265, 3765, 6639, 6447, 5573, 8489, 5753

['1207', '5791', '6903', '1901', 'X', 'f', '9679', '6823', '6495', 'R', '9857', 'r', 'y', 'T', '4739', 'B', '2555', 'o', 'd', '969']

X, f, R, r, y, T, B, o, d, 1207, 5791, 6903, 1901, 9679, 6823, 6495, 9857, 4739, 2555, 969