Well not sure what you're doing as there is no UDF called QuickSortItem mentioned by Bryce.

Also look at Bryce's example where he put the whole code together for you minus the UDF.

Copy and paste his code and the UDFs he mentioned (without changing any of the UDF code) and then run it with KiXtart 4.51 or newer.