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]: ['l', '5217', '8579', 'Y', '9315', 'r', 'T', 'i']
[A]: l, Y, r, T, i, 5217, 8579, 9315


[Q]: ['3335', '1141', 'L', '5811', '9989', '1395', '5207', 'c', 'y', '2905', '1151', 'F', '1609', 'Y', '485', '8225', '2243', '1065', 'K', '5585', '2263', 'h', 'V', 'e', '7761', 'x', '3735', '1575', '4377', 'E', 'o', 'z', '159', 'H', 'N', '1307', 'W', 'W', 'w']
[A]: L, c, y, F, Y, K, h, V, e, x, E, o, z, H, N, W, W, w, 3335, 1141, 5811, 9989, 1395, 5207, 2905, 1151, 1609, 485, 8225, 2243, 1065, 5585, 2263, 7761, 3735, 1575, 4377, 159, 1307


[Q]: ['o', '7683', '7079', '6671', 'I', '13', '7185', 'f', '6271', 'G', 'L', 'A', '3985', '3147']
[A]:
o, I, f, G, L, A, 7683, 7079, 6671, 13, 7185, 6271, 3985, 3147