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]: ['5485', 'w', '7935', '1983', '2113', '4279', '4977', 'M', 'h', '1629', '6241', '5985', 'e', '8249', '477', '1569', '9565', 'J', '8615', 's', 'i', 'z', '4129', '5901', 't', 'R', 'M', '9927', '9253', 'd', '3571', '4179']
[A]: w, M, h, e, J, s, i, z, t, R, M, d, 5485, 7935, 1983, 2113, 4279, 4977, 1629, 6241, 5985, 8249, 477, 1569, 9565, 8615, 4129, 5901, 9927, 9253, 3571, 4179


[Q]: ['U', '1869', '249', 'W', 'q', '7825', 'l', 'C', 'J', '4275', '3503', 'l', 'F', 'i', 'K', '1217', '8667', '9779', '1477', '445', '2701', 'W', '9035', 'F', '3271', '7013', '5279', '9831', 'g', '593', 'j', '9507']
[A]: U, W, q, l, C, J, l, F, i, K, W, F, g, j, 1869, 249, 7825, 4275, 3503, 1217, 8667, 9779, 1477, 445, 2701, 9035, 3271, 7013, 5279, 9831, 593, 9507


[Q]: ['5065', '8731', '673', '9661', '3317', '9795', '2923', '417', 'l', '6693', 'U', 'G', 'V', 'U', 'V', 'd', 'T', 'r', 'F', 's', '5093', '7035', 'Y', '9003', 'f', 'x', '3855', 'B', '1805', '6173', '4265', '7415', 'k', 'p']
[A]:
l, U, G, V, U, V, d, T, r, F, s, Y, f, x, B, k, p, 5065, 8731, 673, 9661, 3317, 9795, 2923, 417, 6693, 5093, 7035, 9003, 3855, 1805, 6173, 4265, 7415