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: ['1735', '9943', 'm', 'l', '2707', '1153', '8971', '9543', '9845', 'u', 'u', '8005', 'K', 'a', 'H', '4879', '9659', 'W', 'h', '5185', 'F', '4961', '1151', '7031', '2547', 'r', '1913', 'a', 'a', 's', '5845', 'k']

SOLUTION: m, l, u, u, K, a, H, W, h, F, r, a, a, s, k, 1735, 9943, 2707, 1153, 8971, 9543, 9845, 8005, 4879, 9659, 5185, 4961, 1151, 7031, 2547, 1913, 5845

PROBLEM: ['u', 'E']

SOLUTION: u, E

PROBLEM: ['N', '6625', 'D', 'X', 'g', 't', 'a', '2521', '5135', 'B']

SOLUTION:
N, D, X, g, t, a, B, 6625, 2521, 5135