Sort commit