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.

['P', '6987', '9279', 'c', 'A', '9533', 'X', '8511', 's', 'O', 'i', 'a', '4939']
P, c, A, X, s, O, i, a, 6987, 9279, 9533, 8511, 4939

['S', 'n', 'w', 'M', '3629', '1381', 'l', '7203', '1505', '5217', 'F', '5557', '3421', '7659', 'W', 'k', 't', 'K', 'W', 'q', '4039', 'b', 't', 'd', '5415', 'F', 't', 'u', 'W', 'j', '6425', 'Y']
S, n, w, M, l, F, W, k, t, K, W, q, b, t, d, F, t, u, W, j, Y, 3629, 1381, 7203, 1505, 5217, 5557, 3421, 7659, 4039, 5415, 6425

['2455', '3933', '9177', '155', '6589', 'K', 'j', '7673', '5431', 'd', 'n', 'X', '3803', '9839', '6089', '8157', 'b', '783', '5983', '5177', '2731', 'G', 'a', '9423', 's', '7139', 'K', '1147', '8289', '2085', '1421', 'm', 'x', '1977', '9833', 'r', 'f', '159']

K, j, d, n, X, b, G, a, s, K, m, x, r, f, 2455, 3933, 9177, 155, 6589, 7673, 5431, 3803, 9839, 6089, 8157, 783, 5983, 5177, 2731, 9423, 7139, 1147, 8289, 2085, 1421, 1977, 9833, 159