title: how to split and sort list in python
body: <p>Assume you have a list A = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10].  In a single line of code, cut A in half and assign B to be a copy of A’s last half followed by the first half (i.e. B would be equal to [6, 7, 8, 9, 10, 1, 2, 3, 4, 5]).  </p>