instruction:
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.
question:
['t', '861', 'u', 'm', '805', '8481', '4481', '3417', 'i', 'J', '4793', '6811', '4997', '907', 'K', '7877', 'j', 'C', '551', 'C', 'R', '6081', 'X']
answer:
t, u, m, i, J, K, j, C, C, R, X, 861, 805, 8481, 4481, 3417, 4793, 6811, 4997, 907, 7877, 551, 6081


question:
['W', '6247', '7925', '1427', 'v', 'd', '9707', 'q', '6883', '1441', '3913', '265', 'z', 'Q', 'T', 'u', 's', 'p', 'r', '5303', 'L', '8169', '6587', '3293', 'Z', 'G', 's', '4905', '4785', '6537', '1949', 'w', 'G', '7063']
answer:
W, v, d, q, z, Q, T, u, s, p, r, L, Z, G, s, w, G, 6247, 7925, 1427, 9707, 6883, 1441, 3913, 265, 5303, 8169, 6587, 3293, 4905, 4785, 6537, 1949, 7063


question:
['P', 'D', '199', '8721', '9133', 'b', 'i', '4041', 'l', '2799', '5949', '2191', '7095', '4573', 'h', '1561', 'k', 'J', 'a', 'O', '5877', '5109', 'X', '2253', '4381', 'S', '3609', '4219', 'Y', 'L', '9165', '1911', '861', '8627']
answer:

P, D, b, i, l, h, k, J, a, O, X, S, Y, L, 199, 8721, 9133, 4041, 2799, 5949, 2191, 7095, 4573, 1561, 5877, 5109, 2253, 4381, 3609, 4219, 9165, 1911, 861, 8627