Redpower machines can't directly pump items into a tesseract (or at least from my testing they don't. They just jam up.) so you'll need a tube going from the filter into the tesseract. Although in theory the quarry should be able to dump straight into the tesseract without the filter. The other problem you have is that tesseract can't output to tubes. You'll need a chest or relay between the tesseract and the sorting machine.