Wrote readline function, trying to add reverse, ignore case, and numerical sorts.