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.

Q: ['v', 'r', '6313', 'P', '7093', 'p', '8823', '3887', '8647', 'h', 'g', 'r', 'F', 'k', '5047', '1175', '9101', 'Q', '669', '9053', 'X']

A: v, r, P, p, h, g, r, F, k, Q, X, 6313, 7093, 8823, 3887, 8647, 5047, 1175, 9101, 669, 9053
****
Q: ['Z', '6277', '2029', 'w', '6679', '9161', 'P', 'N', 'v']

A: Z, w, P, N, v, 6277, 2029, 6679, 9161
****
Q: ['Z', 'T', 'b', '8277', '5051', '7393', 'I', 'Y', 't', '1593', 'i', '5805', 'G', 't', 'G', '3157', '8417', 'Q', '3455', '3753', '8421', '9225', 'p', '7381', '6269', '5079', '9893', '8179', '7313', 'x', '5727', 'B', 'c', '4857', '7053', '4493', '2369', 'V', 'z', 'v']

A:
Z, T, b, I, Y, t, i, G, t, G, Q, p, x, B, c, V, z, v, 8277, 5051, 7393, 1593, 5805, 3157, 8417, 3455, 3753, 8421, 9225, 7381, 6269, 5079, 9893, 8179, 7313, 5727, 4857, 7053, 4493, 2369
****