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.

['g', 'g', '9271', 'D', '9667', 'x', '117', 'E', '4013', 'D', 'M', 'Y', '3887', '5931', '273', '5333', 'Q', '1303', '4517']
g, g, D, x, E, D, M, Y, Q, 9271, 9667, 117, 4013, 3887, 5931, 273, 5333, 1303, 4517

['339', 'P', '4847', '3561', 'k', 'c', 'L', '4091', '9207', 'H', '9483', 'F', 'u', 'l', 'Y', 'P', 'w', '4465', 'Z', 'U', 'i']
P, k, c, L, H, F, u, l, Y, P, w, Z, U, i, 339, 4847, 3561, 4091, 9207, 9483, 4465

['9781', 'c', '1685', '1891', '3455', 'L', 'F', 'J', '8489', 'P', 'h', 't', 'E', 'Q', 'V', 'A', 'o', 'S', '7797', 'z', 'C', 'H']

c, L, F, J, P, h, t, E, Q, V, A, o, S, z, C, H, 9781, 1685, 1891, 3455, 8489, 7797