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:
['J', 'X', '4569', '8419', 'H', '7977', 'x', 'a', 'Q', '3953', '2337', 'u', '1317', 'i', 'j', '6933', '1053', '8345', '9831', 'a', '8859', '759', 'p', 'A', '7163']
answer:
J, X, H, x, a, Q, u, i, j, a, p, A, 4569, 8419, 7977, 3953, 2337, 1317, 6933, 1053, 8345, 9831, 8859, 759, 7163


question:
['5111', '3581', 'U', 'H', 'i']
answer:
U, H, i, 5111, 3581


question:
['3313', '905', '7147', 'O', '3623', 'R', '4943', '2149', 'w', '1741', 'R', '6171', '657', 'J', 'J', 'f', 'P', 't', 's', 'a', '3773', '7045', 'h', '1091']
answer:

O, R, w, R, J, J, f, P, t, s, a, h, 3313, 905, 7147, 3623, 4943, 2149, 1741, 6171, 657, 3773, 7045, 1091