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:
['2397', '1403', '7057', 's', 'e', 'd', 'n', '1851', 'n', '5057']
answer:
s, e, d, n, n, 2397, 1403, 7057, 1851, 5057


question:
['Z', '6277', '2029', 'w', '6679', '9161', 'P', 'N', 'v']
answer:
Z, w, P, N, v, 6277, 2029, 6679, 9161


question:
['L', '1967', 'Z', '3765', '9945', 'K', '8695', '651', 'D', '2759', 'k', '1387', 'b', '1079', 'h', '5677', '6401', 'p', '113', 'u', 'C', '4279', 'a', '4557', '4067', '8847', 'v', 'B', '4553', 'd', '7301', '1765', '6981', 'f', '4535', 'K', '9031', '1609', '2931']
answer:

L, Z, K, D, k, b, h, p, u, C, a, v, B, d, f, K, 1967, 3765, 9945, 8695, 651, 2759, 1387, 1079, 5677, 6401, 113, 4279, 4557, 4067, 8847, 4553, 7301, 1765, 6981, 4535, 9031, 1609, 2931