Sorts keys digit by digit starting from least significant digit using a stable subroutine like counting sort.