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: ['P', 'x', 'u', 'e', 'i', '4177', 'S', 'N', '9041', 'z', 'A', '4887', '1043', 'Z', '9099', 'q', '9905', '7257', '1789', 'k', 'w', 'L', 'z', '1835', '7517', '5859', 'R']

A: P, x, u, e, i, S, N, z, A, Z, q, k, w, L, z, R, 4177, 9041, 4887, 1043, 9099, 9905, 7257, 1789, 1835, 7517, 5859
****
Q: ['t', '861', 'u', 'm', '805', '8481', '4481', '3417', 'i', 'J', '4793', '6811', '4997', '907', 'K', '7877', 'j', 'C', '551', 'C', 'R', '6081', 'X']

A: t, u, m, i, J, K, j, C, C, R, X, 861, 805, 8481, 4481, 3417, 4793, 6811, 4997, 907, 7877, 551, 6081
****
Q: ['Q', '8275', 'r', '4235', 'F', 'p']

A:
Q, r, F, p, 8275, 4235
****