simplify sorting logic
rebuild jar