Change the key for sorting from 's' to 'k'