SelectStatement refactor changed the IN behavior

Data is now sorted in natural order, not order specified by IN