gallery sort done