[modify] add sorting method in shelfer.add()