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]: ['k', '507', 'I', '6705', '9645', 'H', '3897']
[A]: k, I, H, 507, 6705, 9645, 3897


[Q]: ['y', '9433', '4225', '2795', '6981', '6605', '5023', 'V', '575', 's', 'A', '6977', 'g', '9027', '2383', 'X', 'L']
[A]: y, V, s, A, g, X, L, 9433, 4225, 2795, 6981, 6605, 5023, 575, 6977, 9027, 2383


[Q]: ['p', 'r', 'C', 'p', 'Y', 'F', 'K', '5421', 'g', 'Q', 'K', 'O', '4339', '4227', '811', 'i', '6165', 'T', 'X', '1085', '9187', 'w', 'A', '9257']
[A]:
p, r, C, p, Y, F, K, g, Q, K, O, i, T, X, w, A, 5421, 4339, 4227, 811, 6165, 1085, 9187, 9257