sort data without query. related to issues #48