sort shifts by natural order