fix bug when re-sorting things without additional fields