adding start of sorting ascending function.