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', '3005', '3449', '9811', 'V', '3289', '7909', 'J', '1573', 'p', '511', 'v', 'c', '2683', '7415', 'T', 'M', '133', '9175', '43', 'N', 'O', '5191', 'U', 'g', 'M', '13', '2993', '3727', 'i', 'z', 'b', '5811', '5159']
[A]: G, V, J, p, v, c, T, M, N, O, U, g, M, i, z, b, 3005, 3449, 9811, 3289, 7909, 1573, 511, 2683, 7415, 133, 9175, 43, 5191, 13, 2993, 3727, 5811, 5159


[Q]: ['l', '9043', 'g', 'k', 'u', 'U', 'Q', '6049', 'M', 'y', 'X', '2547', '4653', '1049', 'v', 'd', 'k', '1077', 'i', '3841', 'U', 'n']
[A]: l, g, k, u, U, Q, M, y, X, v, d, k, i, U, n, 9043, 6049, 2547, 4653, 1049, 1077, 3841


[Q]: ['2481', '9935', 'z', 'i', '8123', 'w', '1347', 'S']
[A]:
z, i, w, S, 2481, 9935, 8123, 1347