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', '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]: ['q', 'Y', '6597', '6127', '8955']
[A]: q, Y, 6597, 6127, 8955


[Q]: ['773', '1897', '9245', 'x', 'r', '5617', '9535', '9737', 'n', '3309', '4927', '7269', 'Q', 'D', '871', 'v', '6363', '3151', '4749', '4805', 'D']
[A]:
x, r, n, Q, D, v, D, 773, 1897, 9245, 5617, 9535, 9737, 3309, 4927, 7269, 871, 6363, 3151, 4749, 4805