preparing sort-o-matic java