add sort param to mlt results; remove some java warnings