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: ['l', '8853', 'P', 'u', '9699', '9401', 'X', '2757', 's', '4665', 'h', '7999', 'f', '2975', 'l', '3303', '3379', 'H', '8431', 'X', 'd', 'C', 'G', '8945', 'u']

SOLUTION: l, P, u, X, s, h, f, l, H, X, d, C, G, u, 8853, 9699, 9401, 2757, 4665, 7999, 2975, 3303, 3379, 8431, 8945

PROBLEM: ['S', '8623', '3431', 'l', '3533', 'M', '1275', 'b', '8911', 'X', '175', 'V', 'p', '8409', 't', 'i', '2873', 'J', 'v', '7249', '6847', '1585', 'h', 'y', 'I']

SOLUTION: S, l, M, b, X, V, p, t, i, J, v, h, y, I, 8623, 3431, 3533, 1275, 8911, 175, 8409, 2873, 7249, 6847, 1585

PROBLEM: ['r', '2269', 'T']

SOLUTION:
r, T, 2269