SELECT first_name
FROM employees
ORDER BY substr(first_name,-2,2)

substr(first_name,-2,2)获取每一行 first_name 的「倒数两个字符」