Restore sort oprtions, it was broken