TASK DEFINITION: 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.
PROBLEM: ['4949', '7753', '4835', '1691', 'S', 'L', 'M', '1689', '5627', '943', '5645', '8579', '7713', 'G', '593', 'f', 'u', '981', 's', '7915', '3345']

SOLUTION: S, L, M, G, f, u, s, 4949, 7753, 4835, 1691, 1689, 5627, 943, 5645, 8579, 7713, 593, 981, 7915, 3345

PROBLEM: ['X', '4861', '4531']

SOLUTION: X, 4861, 4531

PROBLEM: ['v', 'i', '7517', '4653', '4739', 'u', '9207', '1169', '1323', '7637', 't', 'q', '4171', 'R', '5573', '7067', '5103', 'B', 'w']

SOLUTION:
v, i, u, t, q, R, B, w, 7517, 4653, 4739, 9207, 1169, 1323, 7637, 4171, 5573, 7067, 5103