Small WinApi fix
Fixed using pointers in Struct and small Fix for Sort