fixed missing "break" in switch for sort criteria to select original