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]: ['g', '6307', '3781']
[A]: g, 6307, 3781


[Q]: ['h', '2041', '7621', 'f', 'S', '665', 'x', 'g', 'E', '4371', '6589', 'l', 'C', '789', 'm', '2215', '1017', '3089', 'X', '8773']
[A]: h, f, S, x, g, E, l, C, m, X, 2041, 7621, 665, 4371, 6589, 789, 2215, 1017, 3089, 8773


[Q]: ['x', 'B', 'q', 'c', 'G', 'K', 'e', '6133', 'a', '4163', '3439', 'h', '7703', 'A', 'V', '8305', '1745', 'c', 'b', 'E', 'u', '7229', '8197', '7981', '7547', '8623', '7231', 'W']
[A]:
x, B, q, c, G, K, e, a, h, A, V, c, b, E, u, W, 6133, 4163, 3439, 7703, 8305, 1745, 7229, 8197, 7981, 7547, 8623, 7231