compare reverse from number