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]: ['P', 'D', '199', '8721', '9133', 'b', 'i', '4041', 'l', '2799', '5949', '2191', '7095', '4573', 'h', '1561', 'k', 'J', 'a', 'O', '5877', '5109', 'X', '2253', '4381', 'S', '3609', '4219', 'Y', 'L', '9165', '1911', '861', '8627']
[A]: P, D, b, i, l, h, k, J, a, O, X, S, Y, L, 199, 8721, 9133, 4041, 2799, 5949, 2191, 7095, 4573, 1561, 5877, 5109, 2253, 4381, 3609, 4219, 9165, 1911, 861, 8627


[Q]: ['C', 'l', 'm', 'i', '5697', '6923', '4875', 'N', 'E', '8035', 'I', 'h', 'K', 'x', 'q', '645', '9387', 'Z', '4217', 'm']
[A]: C, l, m, i, N, E, I, h, K, x, q, Z, m, 5697, 6923, 4875, 8035, 645, 9387, 4217


[Q]: ['r', 'S', '7741', '1751', '369', 'I', '6617', 'U']
[A]:
r, S, I, U, 7741, 1751, 369, 6617