Edit location sort