sorting & calc force part is revised