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]: ['2397', '1403', '7057', 's', 'e', 'd', 'n', '1851', 'n', '5057']
[A]: s, e, d, n, n, 2397, 1403, 7057, 1851, 5057


[Q]: ['4129', '9577', 'Z', '4577', '7351', 't', 'C', '7761', '6173', '6451', 'Z', '1907', '2745', 'U', '3093', '5825', 'd', 'z', 'd', '7067', '2789', 'T', '2547', '2133', 'p', '663', '4209', 't', 'k']
[A]: Z, t, C, Z, U, d, z, d, T, p, t, k, 4129, 9577, 4577, 7351, 7761, 6173, 6451, 1907, 2745, 3093, 5825, 7067, 2789, 2547, 2133, 663, 4209


[Q]: ['f', '8183', 's', 'T', 'o', '8099', '7431', 'n', '2759', '8805', '3503', '8399', '2777', '3899', '529']
[A]:
f, s, T, o, n, 8183, 8099, 7431, 2759, 8805, 3503, 8399, 2777, 3899, 529