finished sort action in pies