Fix Sort matching standard in part and now works fully interval tree and brute force