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]: ['M', 'x', '5631', '4515', '3367', 'B', 't', 'Z', '913', 'I', 'X', '591', 'Y', 'w', 'W', 'S']
[A]: M, x, B, t, Z, I, X, Y, w, W, S, 5631, 4515, 3367, 913, 591


[Q]: ['6009', '4183', 'i', '4773', 'a', 'V', 'A', '4643', '5073', '3723', 'E', 'r', 'H']
[A]: i, a, V, A, E, r, H, 6009, 4183, 4773, 4643, 5073, 3723


[Q]: ['m', '1445', '2277', 'w', 'H', '2755', '1223', 'p', '2029', 'c', 'A', 'f', 'Q', '9645', 'U', 'S', 'l', '3665', '1007', 'R', '8365', 'b', '231', 'Y', 'p', 'K', 'D', '257', 'P', '7187', '5513']
[A]:
m, w, H, p, c, A, f, Q, U, S, l, R, b, Y, p, K, D, P, 1445, 2277, 2755, 1223, 2029, 9645, 3665, 1007, 8365, 231, 257, 7187, 5513