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]: ['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]: ['4815', '8851', 'G', 'X', 'o', '8431', '3023', '3981', 'I', 'X', 'E', '9227', '9149', 'J', 'v', '1211', '5729', 'A', 'h', 'f', 'X', '7565']
[A]: G, X, o, I, X, E, J, v, A, h, f, X, 4815, 8851, 8431, 3023, 3981, 9227, 9149, 1211, 5729, 7565


[Q]: ['7453', 'k', 'j', '2517', 'D', 'g', 'k', '2701', 'v', '3931', '9913', 'g', 'l', 'w', '225', '3181', 'G', '1379', '13', '5939', 'v', 'i', '63', '7053', 'c', 'G', 'u']
[A]:
k, j, D, g, k, v, g, l, w, G, v, i, c, G, u, 7453, 2517, 2701, 3931, 9913, 225, 3181, 1379, 13, 5939, 63, 7053