Sort Array By Property Javascript Compiler