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.

['1363', '4357', '39', 'g', 'j', 'm', 'w', 'y', '8981', '6481', 'p', 'b', '8457', '7229', 'g', '1803', 'i', '9219', 'b', 'm', '661', '3333', '6127', 'T', '1099', 'P', '2173', '6471', '6119', '5409', 'I', '2733', 'm', '7543', 'K']
g, j, m, w, y, p, b, g, i, b, m, T, P, I, m, K, 1363, 4357, 39, 8981, 6481, 8457, 7229, 1803, 9219, 661, 3333, 6127, 1099, 2173, 6471, 6119, 5409, 2733, 7543

['7227', '8665', '2091', 'H', 'j', '4261', 't', 'W', '3523', 'Q', '8123', '165', '6165', '8429', '3537', '7967', 't', 'e', '6155', '1511', '5999', '7221', '4383', '8345', '9725', 'e', 'L', 'G', '4879', '8095', 'a', 'N', 'M', '3459']
H, j, t, W, Q, t, e, e, L, G, a, N, M, 7227, 8665, 2091, 4261, 3523, 8123, 165, 6165, 8429, 3537, 7967, 6155, 1511, 5999, 7221, 4383, 8345, 9725, 4879, 8095, 3459

['o', 'E', '1781', 'H', 'd', 'H', '4637', 'v', 'A', '3617', 'S', 'M', 'a', '4661', '8101', 'q', 'M']

o, E, H, d, H, v, A, S, M, a, q, M, 1781, 4637, 3617, 4661, 8101