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:
['7709', 'a', 'P', 'G', '5441', '2055', '1573', '6041', 'J', 'N']
answer:
a, P, G, J, N, 7709, 5441, 2055, 1573, 6041


question:
['901', '1619', 'e', 'G', '2165', 'r', '1891', 'f', '5913', 'f', '4759', '9531', '9093']
answer:
e, G, r, f, f, 901, 1619, 2165, 1891, 5913, 4759, 9531, 9093


question:
['5973', 'p', '687', 'k', '7263', '943', 'k', 'y', '159', 'w', '3313', 'a', '5967', 'S', 'Z', 'k', '5991']
answer:

p, k, k, y, w, a, S, Z, k, 5973, 687, 7263, 943, 159, 3313, 5967, 5991