Working IOCTL and SORT