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: ['J', 'X', '4569', '8419', 'H', '7977', 'x', 'a', 'Q', '3953', '2337', 'u', '1317', 'i', 'j', '6933', '1053', '8345', '9831', 'a', '8859', '759', 'p', 'A', '7163']

SOLUTION: J, X, H, x, a, Q, u, i, j, a, p, A, 4569, 8419, 7977, 3953, 2337, 1317, 6933, 1053, 8345, 9831, 8859, 759, 7163

PROBLEM: ['2921', '4105', 's', 'L', 'W', 'F']

SOLUTION: s, L, W, F, 2921, 4105

PROBLEM: ['6687', 'u', 'o', '7269', '3275', '321', '1377', '9429', '4067']

SOLUTION:
u, o, 6687, 7269, 3275, 321, 1377, 9429, 4067