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:
['5111', '3581', 'U', 'H', 'i']
answer:
U, H, i, 5111, 3581


question:
['p', 'o', 'D', '4813', 's', 'O', '9157', 'Q', '7613', '3561', '705', '3237', 'q', 's', '8167', '651', '7893', 'A', '3727', 'd', '6413', '2753', '8365', 'F', '4505', '8329', '5327', '7753', '2311', '9685', '5449', '4561']
answer:
p, o, D, s, O, Q, q, s, A, d, F, 4813, 9157, 7613, 3561, 705, 3237, 8167, 651, 7893, 3727, 6413, 2753, 8365, 4505, 8329, 5327, 7753, 2311, 9685, 5449, 4561


question:
['P', 'o', '4267', 'S', '23', 's', 'g', 't', '4237', 'm', 't', 'P', '2833', 'M', '2479', 'H', '2089', '2551', '4065', 'E', 'w', '9459', '6685', 'x', 'Q', '6631', 'Z', 'P', '9691', 'f', 'N', 'M', 'Z', 'A', 'O', 'p']
answer:

P, o, S, s, g, t, m, t, P, M, H, E, w, x, Q, Z, P, f, N, M, Z, A, O, p, 4267, 23, 4237, 2833, 2479, 2089, 2551, 4065, 9459, 6685, 6631, 9691