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:
['V', 'z', '9807', 'v', '8383', '7047', 'A', 'F', '5993', 'b', 'S', '337', '1211', '6105', '3867']
answer:
V, z, v, A, F, b, S, 9807, 8383, 7047, 5993, 337, 1211, 6105, 3867


question:
['6019', 'J', 'J', 'Q', '5173', 'F', 'A', '4187', '513', '567', '2737', '9861', 'S', 'B', '7537', 'A', 'e', '7469', 'o', 'G', '349', '157']
answer:

J, J, Q, F, A, S, B, A, e, o, G, 6019, 5173, 4187, 513, 567, 2737, 9861, 7537, 7469, 349, 157