Instructions: 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.
Input: ['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']
Output:
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