I write a program that parse json and shows it in a listView.
Now i want to sort it but don't know how and fail.
 In program i have a List<PoolOfflineModal> alist = new ArrayList<>();
so modal are this;
public class PoolOfflineModal {
    private int id;
    private String name;
    private int price;
    private int priceWithoutDiscount;
    private String tel;
    private int discountPercent;
    private String address;
    private String photo;
}
and data simple is here http://hayat.cloudsite.ir/pools/pools.json
so i want to sort List ascending with price, so update ListView and i don't know...
another idea?! or solution?!
another way are exist to sort ListView from a column without sort list?!?
 
     
    