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', '8275', 'r', '4235', 'F', 'p']

SOLUTION: Q, r, F, p, 8275, 4235

PROBLEM: ['B', '4739', 'h', '9293', 'b', '9311', '5401', 'd', 'F', 'f', '7363', '3833', 'y', '8901', 'T', 'w', 'J', '9421', 'E', '6551', '5199', 'o', 'T', 'F', 'j', 'u', '7499', 't']

SOLUTION: B, h, b, d, F, f, y, T, w, J, E, o, T, F, j, u, t, 4739, 9293, 9311, 5401, 7363, 3833, 8901, 9421, 6551, 5199, 7499

PROBLEM: ['5573', 'Q', '8071', '9643', 'I', '737', '4791', '1679', '6853', 'k', '937', '8147', '7019', '4473', '7687', '4881', 's', 'D', '4439', '6917', '7229', 'T', 'K', 'w', '9513', 's', '217', 'z', 'E', '5245', '1511', '1079', '5109', '7377', '3017']

SOLUTION:
Q, I, k, s, D, T, K, w, s, z, E, 5573, 8071, 9643, 737, 4791, 1679, 6853, 937, 8147, 7019, 4473, 7687, 4881, 4439, 6917, 7229, 9513, 217, 5245, 1511, 1079, 5109, 7377, 3017