Use built-in sorting function