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]: ['S', '6507', '8903', '8863', 'S', '8077', '7313', '4731', '8515']
[A]: S, S, 6507, 8903, 8863, 8077, 7313, 4731, 8515


[Q]: ['g', '9423', '4427', 'e', 'F', '4515', 'h', '7379', '543', '5923', '347', '1559', '7095', 'G', '8737', '1119', '8573', '6291', '1261', 'z', '7253', 'N', '5341']
[A]: g, e, F, h, G, z, N, 9423, 4427, 4515, 7379, 543, 5923, 347, 1559, 7095, 8737, 1119, 8573, 6291, 1261, 7253, 5341


[Q]: ['e', 'b', '1657', 'P', '8589', 'x', 'i', 'n']
[A]:
e, b, P, x, i, n, 1657, 8589