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]: ['2797', '8449', '8105', '6175', 'x']
[A]: x, 2797, 8449, 8105, 6175


[Q]: ['169', '2703', 'M', 'g', 'M', 'l', '5883', 'v', 'T', 'n', '7003', 'n', '3073', 'B', 'S', 'P', 'G', 'K', 'l', '4799', 'm']
[A]: M, g, M, l, v, T, n, n, B, S, P, G, K, l, m, 169, 2703, 5883, 7003, 3073, 4799


[Q]: ['153', 'q', '2217', '5923', '6255', '9271', 'T', '9885', 'y', 'Y', '4021', 'I', 'p', '823', '5969']
[A]:
q, T, y, Y, I, p, 153, 2217, 5923, 6255, 9271, 9885, 4021, 823, 5969