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]: ['1243', '6133', '7145', '4061', '4919', 'y', '2955', '2707', 'y', 'w', 'P', 'c', '6387', '5119', 'c', 'B', 'N', '4849', '7999', '4571', 'U', 'M', 'S', '5981', 'n']
[A]: y, y, w, P, c, c, B, N, U, M, S, n, 1243, 6133, 7145, 4061, 4919, 2955, 2707, 6387, 5119, 4849, 7999, 4571, 5981


[Q]: ['1295', '4081', 'X', '6949', '4655', 'x', '8235', 'O', 'V', '8815', '2723', 'U', 'i', 'k', 'S', 'w', 'c', '5089', 'x', 'V', 's', 'T', 'w', 'E', 'j', 'y', 'B', 'H', 'W', 'H']
[A]: X, x, O, V, U, i, k, S, w, c, x, V, s, T, w, E, j, y, B, H, W, H, 1295, 4081, 6949, 4655, 8235, 8815, 2723, 5089


[Q]: ['n', 'x', 'E', '8133', 'B', 'i', '8587', 'S', '5243', 'C', '2247', 'L', '1379', '5019', '6191', '9535', '6799', '4689', 'D', 'O', 'I', 'J', 'v', '9517', 'v', '3071', '4707', '699', '485', '7987', 'x']
[A]:
n, x, E, B, i, S, C, L, D, O, I, J, v, v, x, 8133, 8587, 5243, 2247, 1379, 5019, 6191, 9535, 6799, 4689, 9517, 3071, 4707, 699, 485, 7987