fixed small but big sorting error......