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.

[Q]: ['u', 'M', 'l', 'F', '5951', '4811', '2237', '9935', 'e', 'w', '5215', 'o', 'b', '9323', 'u', '9215', 'g', '7527', '6297', 'p', '593', '4813', 'Z', '3411', 'k', '5917', '7927', 'y', '1933', 'S', '7151']
[A]: u, M, l, F, e, w, o, b, u, g, p, Z, k, y, S, 5951, 4811, 2237, 9935, 5215, 9323, 9215, 7527, 6297, 593, 4813, 3411, 5917, 7927, 1933, 7151


[Q]: ['v', '2899', '2071', '3373', 'O', '6185', '8887']
[A]: v, O, 2899, 2071, 3373, 6185, 8887


[Q]: ['1303', 'l', 'g', '2887', 'J', '3161', 'r', 'R', 'e', '4137', 'y', '723', 'Y', '9433', '2459', 'V', 'y', '7651', 'y', 'M', '9409', '3507', 'I', 'H', 'i', 'r', 'k', 'f', '2249', '1939', '9477', '4169', 'S', 'p', 'n', '5293', '1431', '8383', 'b', 'o']
[A]:
l, g, J, r, R, e, y, Y, V, y, y, M, I, H, i, r, k, f, S, p, n, b, o, 1303, 2887, 3161, 4137, 723, 9433, 2459, 7651, 9409, 3507, 2249, 1939, 9477, 4169, 5293, 1431, 8383