Store ranking as int.