I already figure it out how to sort by name but i can't sort by price because compareTo don't accept int. Any suggestion ?
Dhan SCJP - Here for Knowledge..
if(this.price < tmp.price)