update sort kind