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]: ['5039', 'O', 'A', '5619', 'P', '8261', '5983', '1779', 'M', '5919', '3361', '6323']
[A]: O, A, P, M, 5039, 5619, 8261, 5983, 1779, 5919, 3361, 6323


[Q]: ['U', '1869', '249', 'W', 'q', '7825', 'l', 'C', 'J', '4275', '3503', 'l', 'F', 'i', 'K', '1217', '8667', '9779', '1477', '445', '2701', 'W', '9035', 'F', '3271', '7013', '5279', '9831', 'g', '593', 'j', '9507']
[A]: U, W, q, l, C, J, l, F, i, K, W, F, g, j, 1869, 249, 7825, 4275, 3503, 1217, 8667, 9779, 1477, 445, 2701, 9035, 3271, 7013, 5279, 9831, 593, 9507


[Q]: ['9501', '627', 'O', '1227', 'W', 'z', '9299', '8451', 'e', '4929', 's', 'w', 'N', '6339', '6989', '3557', 'K', 'U', 'Z', '4711', 'Q', '1203']
[A]:
O, W, z, e, s, w, N, K, U, Z, Q, 9501, 627, 1227, 9299, 8451, 4929, 6339, 6989, 3557, 4711, 1203