Write a function that sorts a list of characters alphabetically in ascending order (a-z) by the character at the n-th character.
sort_by_character(["az16", "by35", "cx24"], 2) ➞ ["cx24", "by35", "az16"]
// By 2nd character: ["x", "y", "z"] is in alphabetical order.
sort_by_character(["mayor", "apple", "petal"], 5) ➞ ["apple", "petal", "mayor"]
# By 5th character: ["e", "l", "r"] is in alphabetical order
sort_by_character(["mate", "team", "bade"], 3) ➞ ["team", "bade", "mate"]
All inputs will be of same length.