Php Order Array By Subarray Sum With K