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: ['v', 'r', '6313', 'P', '7093', 'p', '8823', '3887', '8647', 'h', 'g', 'r', 'F', 'k', '5047', '1175', '9101', 'Q', '669', '9053', 'X']

SOLUTION: v, r, P, p, h, g, r, F, k, Q, X, 6313, 7093, 8823, 3887, 8647, 5047, 1175, 9101, 669, 9053

PROBLEM: ['4959', 'M', '5969', '5543', 'N', 'U', 'h', 'X', '7923', '4573', '983', 'f', 'X', 'e', '1503', 'g', '1927', '721']

SOLUTION: M, N, U, h, X, f, X, e, g, 4959, 5969, 5543, 7923, 4573, 983, 1503, 1927, 721

PROBLEM: ['5941', '5711', '1643', 'a', '5959', 'T']

SOLUTION:
a, T, 5941, 5711, 1643, 5959