read number from file to sort