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:
['2995', 'x', 'K', 'p', '2923', 'O', 'd', '2747', '9895', 'f', '8609', 'M', 'f', '8977', '8939', 'Q', '2135', 'd', 'e', 'P', 'W', '807', '5311', 'W']
answer:
x, K, p, O, d, f, M, f, Q, d, e, P, W, W, 2995, 2923, 2747, 9895, 8609, 8977, 8939, 2135, 807, 5311


question:
['k', '507', 'I', '6705', '9645', 'H', '3897']
answer:
k, I, H, 507, 6705, 9645, 3897


question:
['L', 'T', 'd', 'c', 'H', 'l', 'b']
answer:

L, T, d, c, H, l, b