Adding jar with sorting