finish complexity sort
finish sorting function