Make initial sort faster