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.

['1721', '6287', 'W', '1039', 'g']
W, g, 1721, 6287, 1039

['Z', '3669', '559', 'L', 'W', '2881', 'u', 'y', '3471', 'U', '9219', '9793', 'V', 'u', 'f', '3561', 'z', 'n', '7531', 'F', '4165', '9887', '4731', '4465', 'g', '3493', 'C', 'N', '7309', 'm', 'c', '6599', 'o', 'J', '4271']
Z, L, W, u, y, U, V, u, f, z, n, F, g, C, N, m, c, o, J, 3669, 559, 2881, 3471, 9219, 9793, 3561, 7531, 4165, 9887, 4731, 4465, 3493, 7309, 6599, 4271

['4415', 'S', 'l']

S, l, 4415