Sorting the patches inside the patches dir