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]: ['8817', 'm', '1795', 'q', '2999', 'i', 'n', '5895', '6609', '901', '4099', '5973', 'M', 'j', '5867', '6035', '9425', '3401', '2677', '8939', 'v', 'y', 'S', 'X', '1411', '5595', 'm', '1871']
[A]: m, q, i, n, M, j, v, y, S, X, m, 8817, 1795, 2999, 5895, 6609, 901, 4099, 5973, 5867, 6035, 9425, 3401, 2677, 8939, 1411, 5595, 1871


[Q]: ['m', 'e', '4823']
[A]: m, e, 4823


[Q]: ['9607', '8401', 'z', '461', 't', 'b', '3353', 'Q', 'E', '1739', 'C', 'A', 'U', 'j', '5791', 'G', '7801', 'V', '6063', '3697']
[A]:
z, t, b, Q, E, C, A, U, j, G, V, 9607, 8401, 461, 3353, 1739, 5791, 7801, 6063, 3697