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: ['Q', '5883', '9595', '4847', '617', '631', 'F']

SOLUTION: Q, F, 5883, 9595, 4847, 617, 631

PROBLEM: ['W', '9329', 'X', '8909', 'L', '5185', 'L', 'K', 'c', 'L', '401', '5917', '931', '3857', 'c', '611', 'v', 'n', '9705', 'M', 'y', '5093', 'A', 's', '6925', 'a', 'P', '3349', '7439', '905', '217', 'r', '5797', 's', '5049', '5441', 'p']

SOLUTION: W, X, L, L, K, c, L, c, v, n, M, y, A, s, a, P, r, s, p, 9329, 8909, 5185, 401, 5917, 931, 3857, 611, 9705, 5093, 6925, 3349, 7439, 905, 217, 5797, 5049, 5441

PROBLEM: ['K', 'M', 'b', '9531']

SOLUTION:
K, M, b, 9531