fixed tracks playing when sorting, fixed tracks unsortable when restoring from session, closes #363