I want to sort a list but I want it to be sorted excluding the first element.
For example:
a = ['T', 4, 2, 1, 3]
Now I want the list to be sorted but the first element should stay in its place:
a = ['T', 1, 2, 3, 4]
I know this can be done by using a sorting algorithm but is there a one line way to do it or a more pythonic way to do this?