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:
['8031', 'X', 'j', 'm', 'x', 'O', 'Y', 'p', 'z', 'U', '5125', 'J', '9977', '8977', '3787', '5241', 'z', '8985', '5807', '5063', '1133', '8497', 'n', 'C', 'j', 'X', '3299', 'Y', 'X', 't', '6197', 'a', 'f', 'S']
answer:
X, j, m, x, O, Y, p, z, U, J, z, n, C, j, X, Y, X, t, a, f, S, 8031, 5125, 9977, 8977, 3787, 5241, 8985, 5807, 5063, 1133, 8497, 3299, 6197


question:
['9327', '2537', 'z', 'l', '8069', 'j', '2357', '8181', '4201', '1359', 'c', '3185']
answer:
z, l, j, c, 9327, 2537, 8069, 2357, 8181, 4201, 1359, 3185


question:
['r', 'K', 'b', 'I', 'g', '8827', 'K', '5185', '3139', 'j', '8273', 'k', '305', 'r', '9667', 'W', '1383', 'o', 'C', 'r', 'd', 'c', '1055']
answer:

r, K, b, I, g, K, j, k, r, W, o, C, r, d, c, 8827, 5185, 3139, 8273, 305, 9667, 1383, 1055