fixed repos sorting