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.

[Q]: ['G', 'A', '1165', 'O']
[A]: G, A, O, 1165


[Q]: ['6511', '4385', 't', '527', '1823', '8793', '703', '5237', 'A', 'a', 'Q', '2829', 'd', '3821', 'K', 'y', 'R', '8825', 'O', '3085', 'z', '663', '6721', '9793', 'e']
[A]: t, A, a, Q, d, K, y, R, O, z, e, 6511, 4385, 527, 1823, 8793, 703, 5237, 2829, 3821, 8825, 3085, 663, 6721, 9793


[Q]: ['L', '6053', '4311', '8923', '3201', '935', 'I', 'g', '6019', 'h', 'e', '4709', '9783', '9767', '9829', 'z', 'x', '6257', '5155', '2983', 'b', '3589', 'X', 'Y', 'T', 'W', 'B', 'k', 'O', '6489', 'r', 'S', 'l', 'q', 'I', 'q', '887', 'O', 'i', '3571']
[A]:
L, I, g, h, e, z, x, b, X, Y, T, W, B, k, O, r, S, l, q, I, q, O, i, 6053, 4311, 8923, 3201, 935, 6019, 4709, 9783, 9767, 9829, 6257, 5155, 2983, 3589, 6489, 887, 3571