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: ['2995', 'x', 'K', 'p', '2923', 'O', 'd', '2747', '9895', 'f', '8609', 'M', 'f', '8977', '8939', 'Q', '2135', 'd', 'e', 'P', 'W', '807', '5311', 'W']

A: x, K, p, O, d, f, M, f, Q, d, e, P, W, W, 2995, 2923, 2747, 9895, 8609, 8977, 8939, 2135, 807, 5311
****
Q: ['2807', '781', '6821', '6945', '2129', '7775', '7367', 'r', 'g', '3527', '5357', '6057', 'k', '4829', '7255', '3003', '6579', '6939']

A: r, g, k, 2807, 781, 6821, 6945, 2129, 7775, 7367, 3527, 5357, 6057, 4829, 7255, 3003, 6579, 6939
****
Q: ['9061', '625', 'c', 'k', 'm', '2439', 'k', 'O', '3463']

A:
c, k, m, k, O, 9061, 625, 2439, 3463
****