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: ['1363', '4357', '39', 'g', 'j', 'm', 'w', 'y', '8981', '6481', 'p', 'b', '8457', '7229', 'g', '1803', 'i', '9219', 'b', 'm', '661', '3333', '6127', 'T', '1099', 'P', '2173', '6471', '6119', '5409', 'I', '2733', 'm', '7543', 'K']

A: g, j, m, w, y, p, b, g, i, b, m, T, P, I, m, K, 1363, 4357, 39, 8981, 6481, 8457, 7229, 1803, 9219, 661, 3333, 6127, 1099, 2173, 6471, 6119, 5409, 2733, 7543
****
Q: ['S', '6507', '8903', '8863', 'S', '8077', '7313', '4731', '8515']

A: S, S, 6507, 8903, 8863, 8077, 7313, 4731, 8515
****
Q: ['i', '6153', 'x', '3081', '3797', 'f', '8637', '7885', 'R', '2809', 'F', 'n', '211', '9989', 'c', 'G', '1369', 'J', '4427', 'r', 'm', '4681', 'j', '4471', '2033', '4507', '6481', '8129', '8971', '389', '9827', 'n', 'M', 'a', '8377', 'R', '9011', '5183', '9725']

A:
i, x, f, R, F, n, c, G, J, r, m, j, n, M, a, R, 6153, 3081, 3797, 8637, 7885, 2809, 211, 9989, 1369, 4427, 4681, 4471, 2033, 4507, 6481, 8129, 8971, 389, 9827, 8377, 9011, 5183, 9725
****