Category "usort"

Sort flat array by multiple rules

I would like some help regarding my sort function for an array as it is not working as I expected. This function is to sort array of [0,1,2,3,4,...23] into arra