Create SortSearchUtil.java

A dependency of TsyUtil for now.