sort result arrays, delete date field