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:
['5717', 'y', '2681', 'l', 'm', '3623', 'o', 'P', 'y', 'h', '2751', 'e', 'i', 'Q', '8331', '3197', 'v', '9189', 'F']
answer:
y, l, m, o, P, y, h, e, i, Q, v, F, 5717, 2681, 3623, 2751, 8331, 3197, 9189


question:
['m', 'e', '4823']
answer:
m, e, 4823


question:
['6313', '3029', 't', 'A', '3803', '1127', 'j', 'M', 'Q', '7143', 'S', '6765', 'G', '5307', 'o', '8771', 'p', 'p', 'c', 'e', '1305', 'v', '3403', '7641', 'k', 'B', 'I', 'H', 'y', '3649', 'a', '8493', 'M', '2877', 'W', '2367', 'E']
answer:

t, A, j, M, Q, S, G, o, p, p, c, e, v, k, B, I, H, y, a, M, W, E, 6313, 3029, 3803, 1127, 7143, 6765, 5307, 8771, 1305, 3403, 7641, 3649, 8493, 2877, 2367