sorted parallel array data structure in PHP programming language