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]: ['t', 't', '2017', '8431', 'T', '7271', '4561', '4679', 'n', '4909', '1059', '7397', '3957', '8825', '1553', 'I', '941', '6749', '9865', '5947', 'q']
[A]: t, t, T, n, I, q, 2017, 8431, 7271, 4561, 4679, 4909, 1059, 7397, 3957, 8825, 1553, 941, 6749, 9865, 5947


[Q]: ['8277', 'p', '4245', '3333', '7825', '765', '2579', 'X', '2953', 'E', '5121', 'X', '1697', 'q', 'Y', '9103', 'J', '129', '6221', '6743', 'Z', '6467', 'V', '5703', '8161', '5603', '4229', '8039', '1455', '2663', 'O', '9853', '3853', '6987', '9699', 'P', '9929']
[A]: p, X, E, X, q, Y, J, Z, V, O, P, 8277, 4245, 3333, 7825, 765, 2579, 2953, 5121, 1697, 9103, 129, 6221, 6743, 6467, 5703, 8161, 5603, 4229, 8039, 1455, 2663, 9853, 3853, 6987, 9699, 9929


[Q]: ['N', '7873', 'j', '3073', 'B', '4167', '9567', 'D', '4557', '7469', 'g', '2983', '4589', 'N', '551', 'K', 'G', '7123', 'H', '7111', '2033', '9961', '1377', 'v', '2883', 'K', '283', 'F', 'D', 'D', '3199']
[A]:
N, j, B, D, g, N, K, G, H, v, K, F, D, D, 7873, 3073, 4167, 9567, 4557, 7469, 2983, 4589, 551, 7123, 7111, 2033, 9961, 1377, 2883, 283, 3199