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.
--------
Question: ['9265', 'L', 'j', 'l', 'g', '4067', 'f', 'R', '5407', 'I', 'z', '1389', 'i', 'g', 'u', '6807', 'k', '9701', 'e', '2513', '627', '6263', 'h', 'm', 'J', 'M']

Answer: L, j, l, g, f, R, I, z, i, g, u, k, e, h, m, J, M, 9265, 4067, 5407, 1389, 6807, 9701, 2513, 627, 6263


Question: ['S', '6507', '8903', '8863', 'S', '8077', '7313', '4731', '8515']

Answer: S, S, 6507, 8903, 8863, 8077, 7313, 4731, 8515


Question: ['i', '9985', 'x', '3737', 'u', '5977', 'M', '7445', 's', 'B', '2877', '5961', '5401', '8229']

Answer:
i, x, u, M, s, B, 9985, 3737, 5977, 7445, 2877, 5961, 5401, 8229