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.

['405', '2287', '9671', '5581', 'S', 'W', 'a', 'I', '5965', '5165', '6109', 'C', 'O', '8787', '141', '8211', 'm', 'f', 'g', 'Z', '9305', 'D', 'N', '193', 'D', '419', '7545']
S, W, a, I, C, O, m, f, g, Z, D, N, D, 405, 2287, 9671, 5581, 5965, 5165, 6109, 8787, 141, 8211, 9305, 193, 419, 7545

['f', '4095', '8787', '8963', 'O', 'a', '819', 'u', '6877', '6687', '3987', '297', '5095', 'l', '1103', '1579', 'h', 'y', 'f', 'k', 'I', 'C', 'G', 'O', '39', 'R', '7597', '2981']
f, O, a, u, l, h, y, f, k, I, C, G, O, R, 4095, 8787, 8963, 819, 6877, 6687, 3987, 297, 5095, 1103, 1579, 39, 7597, 2981

['9705', 'P', 'R', 'p', '29', '1053', '1913', 'r', 'p', 'E', '8327', '7685', 'w', '5571', 'W', '9187', '3901', '6223', 'L', '9919', '7869', 'X', '9597', 'l', 'w', '9747', 'm', '8969', 'K', '3067', '5065', 'E']

P, R, p, r, p, E, w, W, L, X, l, w, m, K, E, 9705, 29, 1053, 1913, 8327, 7685, 5571, 9187, 3901, 6223, 9919, 7869, 9597, 9747, 8969, 3067, 5065