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:
['r', 'g', '5847', '329', '6267']
answer:
r, g, 5847, 329, 6267


question:
['4815', '8851', 'G', 'X', 'o', '8431', '3023', '3981', 'I', 'X', 'E', '9227', '9149', 'J', 'v', '1211', '5729', 'A', 'h', 'f', 'X', '7565']
answer:
G, X, o, I, X, E, J, v, A, h, f, X, 4815, 8851, 8431, 3023, 3981, 9227, 9149, 1211, 5729, 7565


question:
['3725', 'n', 'p', '6359', '7081', '3329', '8287', 'f', '7675', 'h', '513', '2885', 'm', 'c', '1045', '8879', '7143', 'v', '1505', '591', 'b', 'O', '6003', 'U', 'Q', 'j', '825', '8121', 'V', '7679', 'k', 'X', 'c', 'f', '3555', '2623', 't']
answer:

n, p, f, h, m, c, v, b, O, U, Q, j, V, k, X, c, f, t, 3725, 6359, 7081, 3329, 8287, 7675, 513, 2885, 1045, 8879, 7143, 1505, 591, 6003, 825, 8121, 7679, 3555, 2623