Sort changes by their number