#Fix custom array sort function.